/* =========================================================
   Talei & Talei — calm & warm design system
   ========================================================= */
:root {
	--ink: #1f1d1a;          /* warm near-black text */
	--ink-soft: #5d5d5d;     /* secondary text */
	--gold: #be8e2b;         /* brand gold accent */
	--gold-deep: #9c7320;
	--champagne: #f7ebc6;    /* warm highlight */
	--sand: #e9e0cf;         /* soft section bg */
	--sand-2: #f3ece0;
	--paper: #faf7f1;        /* warm off-white page bg */
	--charcoal: #211f1c;     /* dark sections */
	--line: #e4dccd;
	--maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 400;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: .2px;
	margin: 0 0 .4em;
}
p { margin: 0 0 1.1em; }
a { color: var(--gold-deep); text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	padding: 15px 30px;
	border-radius: 2px;
	font-weight: 500;
	font-size: 15px;
	letter-spacing: .4px;
	transition: all .2s ease;
	border: 1px solid transparent;
	cursor: pointer;
}
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-1px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--charcoal); }

.link-arrow { font-weight: 500; font-size: 15px; letter-spacing: .3px; }
.link-arrow:hover { color: var(--gold); }

/* ---------- Top bar ---------- */
.topbar { background: var(--charcoal); color: rgba(255,255,255,.8); font-size: 13px; letter-spacing: .3px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topbar__phone { color: var(--champagne); font-weight: 500; }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.brand__mark { height: 38px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; white-space: nowrap; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: .3px; }
.nav a:hover { color: var(--gold); }
.nav__cta { padding: 11px 22px; font-size: 14px; }
.nav__cta-mobile { display: none; }

/* Hamburger (CSS-only checkbox toggle) */
.nav-toggle { display: none; }
.nav-burger { display: none; margin-left: auto; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--ink); transition: all .25s ease; }
.nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sticky mobile call bar */
.mobile-callbar { display: none; }

/* ---------- Hero ---------- */
.hero {
	background: linear-gradient(180deg, var(--sand-2) 0%, var(--paper) 100%);
	padding: 110px 0 100px;
	position: relative;
}
.hero__inner { max-width: 800px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 2.5px; font-size: 12.5px; font-weight: 600; color: var(--gold-deep); margin-bottom: 22px; }
.hero__title { font-size: clamp(46px, 7vw, 84px); font-weight: 600; letter-spacing: 0; }
.hero__lede { font-size: 20px; color: var(--ink-soft); max-width: 620px; margin: 26px 0 38px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- Trust bar ---------- */
.trust { background: var(--charcoal); color: #fff; }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 38px 28px; }
.trust__item { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.trust__item strong { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--champagne); font-weight: 600; }
.trust__item span { font-size: 13.5px; color: rgba(255,255,255,.7); letter-spacing: .3px; }

/* ---------- Section primitives ---------- */
.section__eyebrow { text-transform: uppercase; letter-spacing: 2.5px; font-size: 12.5px; font-weight: 600; color: var(--gold-deep); margin-bottom: 14px; }
.section__eyebrow--center { text-align: center; }
.section__title { font-size: clamp(32px, 4.5vw, 50px); }
.section__title--center { text-align: center; margin-bottom: 12px; }

/* ---------- Intro ---------- */
.intro { padding: 100px 0; }
.intro__inner { max-width: 760px; }
.intro__body { font-size: 19px; color: var(--ink-soft); margin: 20px 0 26px; }

/* ---------- Practice ---------- */
.practice { padding: 100px 0; background: var(--sand-2); }
.practice__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.card { background: var(--paper); border: 1px solid var(--line); padding: 38px 32px; border-radius: 3px; transition: all .25s ease; }
.card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31,29,26,.08); }
.card h3 { font-size: 27px; }
.card p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Attorneys ---------- */
.attorneys { padding: 100px 0; }
.attorneys__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 50px; }
.attorney { display: flex; gap: 26px; align-items: flex-start; }
.attorney__photo { width: 150px; height: 190px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.attorney__photo--placeholder {
	width: 150px; height: 190px; flex-shrink: 0; border-radius: 3px;
	background: var(--sand); color: var(--gold-deep);
	display: flex; align-items: center; justify-content: center;
	font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 600;
}
.attorney__body h3 { font-size: 28px; margin-bottom: 2px; }
.attorney__role { color: var(--gold-deep); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.attorney__body p { color: var(--ink-soft); font-size: 16px; }

/* ---------- CTA ---------- */
.cta { background: var(--charcoal); color: #fff; padding: 90px 0; text-align: center; }
.cta__inner { max-width: 720px; margin: 0 auto; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; }
.cta p { color: rgba(255,255,255,.75); font-size: 18px; margin-bottom: 32px; }
.cta .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.7); padding: 70px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer__logo { height: 40px; width: auto; margin-bottom: 18px; }
.site-footer__tag { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--champagne); }
.site-footer__counties { font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.site-footer__col a { display: block; color: rgba(255,255,255,.7); font-size: 15px; margin-bottom: 9px; }
.site-footer__col a:hover { color: var(--champagne); }
.site-footer__col p { font-size: 15px; margin-bottom: 9px; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; font-size: 12.5px; color: rgba(255,255,255,.45); flex-wrap: wrap; }
.site-footer__disclaimer { flex: 1 1 320px; text-align: center; }
.site-footer__credit { white-space: nowrap; }
.site-footer__credit a { color: rgba(255,255,255,.55); border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.site-footer__credit a:hover { color: var(--champagne); border-bottom-color: rgba(190,142,43,.5); }
@media (max-width: 700px) {
	.site-footer__legal { justify-content: center; text-align: center; }
	.site-footer__disclaimer { flex-basis: 100%; }
}

/* ---------- Page head ---------- */
.pagehead { background: linear-gradient(180deg, var(--sand-2) 0%, var(--paper) 100%); padding: 80px 0 64px; }
.pagehead .section__title { font-size: clamp(38px, 5vw, 60px); }
.pagehead__lede { font-size: 19px; color: var(--ink-soft); max-width: 640px; margin-top: 14px; }

/* ---------- Attorney bios ---------- */
.bio { padding: 80px 0; }
.bio--alt { background: var(--sand-2); }
.bio__inner { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.bio__inner--reverse { grid-template-columns: 1fr 320px; }
.bio__inner--reverse .bio__aside { order: 2; }
.bio__photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 3px; }
.bio__photo--placeholder { display: flex; align-items: center; justify-content: center; background: var(--sand); color: var(--gold-deep); font-family: 'Cormorant Garamond', serif; font-size: 80px; font-weight: 600; }
.bio__facts { margin-top: 24px; border-top: 2px solid var(--gold); padding-top: 20px; }
.bio__facts h4 { font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; font-weight: 600; color: var(--gold-deep); margin: 0 0 4px; }
.bio__facts p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 18px; }
.bio__body h2 { font-size: clamp(34px, 4vw, 46px); margin-bottom: 0; }
.bio__role { color: var(--gold-deep); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin: 4px 0 22px; }
.bio__body p { color: var(--ink-soft); font-size: 17px; }
.bio__list { color: var(--ink-soft); font-size: 17px; margin: 0 0 1.1em; padding-left: 0; list-style: none; }
.bio__list li { padding: 7px 0 7px 26px; border-bottom: 1px solid var(--line); position: relative; }
.bio__list li::before { content: '\2014'; color: var(--gold); position: absolute; left: 0; }

@media (max-width: 820px) {
	.bio__inner, .bio__inner--reverse { grid-template-columns: 1fr; gap: 32px; }
	.bio__inner--reverse .bio__aside { order: 0; }
	.bio__photo { max-width: 320px; }
}

/* ---------- About: why ---------- */
.why { padding: 100px 0; background: var(--sand-2); }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 50px; }
.why__item { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 36px 34px; }
.why__num { font-family: 'Cormorant Garamond', serif; font-size: 34px; color: var(--gold); font-weight: 600; display: block; margin-bottom: 8px; }
.why__item h3 { font-size: 25px; }
.why__item p { color: var(--ink-soft); font-size: 16px; margin: 0; }

/* ---------- Practice detail ---------- */
.practice-detail { padding: 72px 0; }
.practice-detail--alt { background: var(--sand-2); }
.practice-detail__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.practice-detail__num { font-family: 'Cormorant Garamond', serif; font-size: 40px; color: var(--gold); font-weight: 600; display: block; margin-bottom: 6px; }
.practice-detail__head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.practice-detail__head p { color: var(--ink-soft); font-size: 17px; }
.practice-detail__list { margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { padding: 80px 0; }
.faq__inner { max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
	font-family: 'Cormorant Garamond', serif; font-size: 25px; font-weight: 600; color: var(--ink);
	padding: 26px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { color: var(--gold); font-size: 28px; font-weight: 300; transition: transform .2s ease; flex-shrink: 0; line-height: 1; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 0 26px; }
.faq__a p { color: var(--ink-soft); font-size: 17px; margin: 0; max-width: 92%; }

/* ---------- Contact ---------- */
.contact { padding: 72px 0 0; }
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.contact__form, .contact__form-col form { display: flex; flex-direction: column; gap: 18px; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact__form-col label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; letter-spacing: .3px; color: var(--ink); }
.contact__form-col input:not([type="submit"]), .contact__form-col textarea {
	font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 400; padding: 13px 15px; width: 100%;
	border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink); transition: border-color .2s ease;
}
.contact__form-col input:not([type="submit"]):focus, .contact__form-col textarea:focus { outline: none; border-color: var(--gold); }
.contact__form-col input[type="submit"], .contact__form-col .btn { align-self: flex-start; border: none; margin-top: 4px; cursor: pointer; }
.contact__form-col .wpcf7-form-control-wrap { display: block; }
.contact__form-col .wpcf7-spinner { margin: 10px 0 0; }
.wpcf7-response-output { margin: 16px 0 0 !important; padding: 12px 16px !important; font-size: 14px; border-radius: 2px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--gold) !important; color: var(--gold-deep); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output { color: #b03a2e; }
.wpcf7-not-valid-tip { color: #b03a2e; font-size: 12.5px; font-weight: 500; margin-top: 5px; }
.contact__disclaimer { font-size: 12.5px; color: var(--ink-soft); margin: 4px 0 0; }
.contact__info { background: var(--charcoal); color: rgba(255,255,255,.8); padding: 40px 36px; border-radius: 3px; }
.contact__info h3 { color: #fff; font-size: 28px; margin-bottom: 24px; }
.contact__info-block { margin-bottom: 22px; }
.contact__label { text-transform: uppercase; letter-spacing: 1.5px; font-size: 11.5px; font-weight: 600; color: var(--gold); display: block; margin-bottom: 5px; }
.contact__info-block p { font-size: 15.5px; margin: 0; line-height: 1.6; }
.contact__info-block a { color: var(--champagne); }
.contact__map { margin-top: 64px; line-height: 0; }

@media (max-width: 820px) {
	.why__grid { grid-template-columns: 1fr; }
	.practice-detail__inner { grid-template-columns: 1fr; gap: 24px; }
	.contact__grid { grid-template-columns: 1fr; gap: 36px; }
	.contact__row { grid-template-columns: 1fr; }
	.contact__map { margin-top: 44px; }
}

/* ---------- Blog archive ---------- */
.archive { padding: 70px 0; }
.archive__list { max-width: 820px; }
.postcard { padding: 34px 0; border-bottom: 1px solid var(--line); }
.postcard:first-child { padding-top: 0; }
.postcard__date { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; font-weight: 600; color: var(--gold-deep); margin-bottom: 8px; }
.postcard__title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
.postcard__title a { color: var(--ink); }
.postcard__title a:hover { color: var(--gold-deep); }
.postcard__excerpt { color: var(--ink-soft); font-size: 17px; max-width: 90%; }

/* ---------- Single post ---------- */
.single__head { background: linear-gradient(180deg, var(--sand-2) 0%, var(--paper) 100%); padding: 56px 0 48px; }
.single__head-inner { max-width: 760px; }
.single__back { font-size: 14px; font-weight: 500; }
.single__date { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; font-weight: 600; color: var(--gold-deep); margin: 22px 0 8px; }
.single__title { font-size: clamp(34px, 5vw, 54px); }
.single__body { max-width: 760px; padding: 56px 0 80px; }

/* ---------- Prose (post + page content) ---------- */
.prose { color: var(--ink-soft); font-size: 18px; line-height: 1.75; }
.prose h2 { font-family: 'Cormorant Garamond', serif; color: var(--ink); font-size: 32px; margin: 1.6em 0 .4em; }
.prose h3 { font-family: 'Cormorant Garamond', serif; color: var(--ink); font-size: 24px; margin: 1.4em 0 .3em; }
.prose p { margin: 0 0 1.2em; }
.prose ul { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.prose ul li { padding: 7px 0 7px 26px; border-bottom: 1px solid var(--line); position: relative; }
.prose ul li::before { content: '\2014'; color: var(--gold); position: absolute; left: 0; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 16px; }
.prose th { background: var(--charcoal); color: #fff; text-align: left; padding: 13px 16px; font-weight: 600; font-size: 14px; }
.prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.prose tr:nth-child(even) td { background: var(--sand-2); }

.single__cta { margin-top: 56px; padding: 40px; background: var(--sand-2); border-radius: 4px; border-left: 3px solid var(--gold); }
.single__cta h3 { font-size: 27px; margin-bottom: 6px; }
.single__cta p { color: var(--ink-soft); margin-bottom: 20px; }

/* ---------- Location pages: cities ---------- */
.cities { padding: 90px 0; background: var(--sand-2); }
.cities__inner { max-width: 860px; }
.cities__list { list-style: none; padding: 0; margin: 26px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.cities__list li { background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 9px 16px; font-size: 15px; font-weight: 500; color: var(--ink); }
.cities__note { color: var(--ink-soft); font-size: 16px; max-width: 660px; }

/* ---------- Generic page (namespaced to avoid clashing with WP's body.page class) ---------- */
.basic-page { padding: 80px 0; }
.basic-page__inner { max-width: 760px; }
.prose p { color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.nav__cta { display: none; }
	.nav-burger { display: flex; }
	.nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; gap: 0; background: var(--paper);
		border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(31,29,26,.12); padding: 8px 0;
	}
	.nav-toggle:checked ~ .nav { display: flex; }
	.nav a { padding: 14px 28px; border-bottom: 1px solid var(--line); }
	.nav a:last-child { border-bottom: none; }
	.nav__cta-mobile { display: block; color: var(--gold-deep); font-weight: 600; }
	.topbar__counties { display: none; }
	.topbar__inner { justify-content: center; }
	/* sticky call bar */
	.mobile-callbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; box-shadow: 0 -4px 18px rgba(31,29,26,.16); }
	.mobile-callbar a { flex: 1; text-align: center; padding: 15px 0; font-size: 15px; font-weight: 600; letter-spacing: .3px; }
	.mobile-callbar__call { background: var(--charcoal); color: #fff; }
	.mobile-callbar__cta { background: var(--gold); color: #fff; }
	body { padding-bottom: 52px; } /* room for call bar */
	.trust__inner { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
	.practice__grid { grid-template-columns: 1fr; }
	.attorneys__grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.hero { padding: 70px 0 60px; }
	.intro, .practice, .attorneys { padding: 64px 0; }
}
