/* =========================================================
   DeLeon & Bellavia Law — custom tema
   Ručno pisan CSS (port Tailwind klasa iz Figma Make izvora),
   bez build koraka. Breakpoint-i: 640 / 768 / 1024px.
   ========================================================= */

@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url('../fonts/manrope-variable.woff2') format('woff2-variations'), url('../fonts/manrope-variable.woff2') format('woff2');
}

:root {
	--midnight: #022F40;
	--slate: #304D6D;
	--teal: #2374AB;
	--sky: #2374AB;
	--gold: #DFC26F;
	--ivory: #F7F4EE;
	--ivory-dark: #E8E2D8;
	--mist: #F1F2F3;
	--font-sans: 'Manrope', system-ui, sans-serif;
	--container-max: 1340px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: 500;
	color: var(--midnight);
	background: var(--ivory);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3 { font-weight: 700 !important; margin: 0; }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; padding: 0; }
ul { margin: 0; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(2,47,64,0.2); border-radius: 3px; }

/* ---------- Scroll-in animation utilities ---------- */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .35s; }
.fade-up.delay-4 { transition-delay: .5s; }

.fade-left { opacity: 0; transform: translateX(-30px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.fade-left.visible { opacity: 1; transform: none; }
.fade-left.delay-1 { transition-delay: .1s; }
.fade-left.delay-2 { transition-delay: .2s; }
.fade-left.delay-3 { transition-delay: .35s; }

.scale-in { opacity: 0; transform: scale(.96); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.scale-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.fade-up, .fade-left, .scale-in { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Shared bits ---------- */
.eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--teal); font-weight: 500; }
.eyebrow--gold { color: var(--gold); }

.link-arrow { display: inline-flex; align-items: center; gap: .65rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); transition: gap .3s; }
.link-arrow:hover { gap: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.75rem; font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; transition: all .3s; text-align: center; }
.btn--sky { background: var(--sky); color: #fff; }
.btn--sky:hover { opacity: .8; transform: translateY(-2px); }
.btn--outline-light { border: 1px solid rgba(255,255,255,.8); color: #fff; }
.btn--outline-light:hover { opacity: .7; }
.btn--outline-teal { border: 1px solid var(--teal); color: var(--teal); }
.btn--outline-teal:hover { background: var(--teal); color: #fff; }
.btn--white { background: #fff; border: 1px solid #fff; color: var(--teal); font-weight: 500; }
.btn--white:hover { background: transparent; color: #fff; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { opacity: .8; }

.container { max-width: var(--container-max); margin: 0 auto; width: 100%; }

/* =========================================================
   Nav
   ========================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color .4s ease, box-shadow .4s ease, border-color .4s ease; border-bottom: 1px solid transparent; }
.nav.is-stuck { background-color: rgba(2,47,64,.92); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -15px rgba(0,0,0,.4); border-bottom-color: rgba(255,255,255,.08); }
.nav--theme-light.is-stuck { background-color: rgba(247,244,238,.92); box-shadow: 0 10px 30px -15px rgba(2,47,64,.15); border-bottom-color: rgba(2,47,64,.08); }
.nav.menu-open { position: fixed; height: 100dvh; background: var(--midnight); backdrop-filter: blur(12px); border-bottom-color: rgba(255,255,255,.12); box-shadow: none; }

.nav__bar { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 4rem; transition: height .35s ease; }
.nav.is-stuck .nav__bar { height: 3.5rem; }

.nav__logo { position: relative; display: block; height: 2rem; width: 2rem; }
.nav__logo-img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: contain; transition: opacity .5s; }
.nav__logo-img--teal { display: none; }
.nav__logo-img--white { display: block; }
.nav--theme-light .nav__logo-img--teal { display: block; }
.nav--theme-light .nav__logo-img--white { display: none; }
.nav--theme-light.menu-open .nav__logo-img--teal, .nav.menu-open .nav__logo-img--teal { display: none; }
.nav--theme-light.menu-open .nav__logo-img--white, .nav.menu-open .nav__logo-img--white { display: block; }

.nav__links { display: none; align-items: center; gap: 2rem; }
.nav__link { font-size: .875rem; letter-spacing: .02em; color: #fff; transition: opacity .2s; font-weight: 500; }
.nav__link:hover { opacity: .6; }
.nav--theme-light .nav__link { color: var(--midnight); }

.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__cta { display: none; align-items: center; gap: .5rem; border: 1px solid #fff; color: #fff; padding: .85rem 1.75rem; font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; transition: opacity .2s; }
.nav--theme-light .nav__cta { border-color: var(--teal); color: var(--teal); }
.nav__cta:hover { opacity: .8; }

.nav__burger { display: flex; flex-direction: column; gap: .375rem; padding: .25rem; }
.nav__burger span { display: block; height: 1px; width: 1.5rem; background: currentColor; color: #fff; transition: all .3s; }
.nav--theme-light .nav__burger span { color: var(--midnight); }
.nav.menu-open .nav__burger span { color: #fff; }
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile { height: calc(100dvh - 4rem); overflow: hidden; max-height: 0; transition: max-height .5s; background: var(--midnight); }
.nav.menu-open .nav__mobile { max-height: calc(100dvh - 4rem); border-top: 1px solid rgba(255,255,255,.12); }
.nav__mobile-inner { display: flex; height: 100%; flex-direction: column; justify-content: flex-end; gap: 1.5rem; padding: 0 1.5rem 3rem; }
.nav__mobile-link { text-align: left; font-size: 1.62rem; color: var(--ivory); padding: .25rem 0; transition: color .2s; }
.nav__mobile-link:hover { color: var(--sky); }
.nav__mobile-cta { margin-top: .5rem; border: 1px solid var(--gold); color: var(--gold); padding: .85rem 1.75rem; text-align: center; font-size: .9rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; transition: all .2s; }
.nav__mobile-cta:hover { background: #fff; color: var(--midnight); }

@media (min-width: 1024px) {
	.nav { position: fixed !important; height: auto !important; }
	.nav__bar { padding: 0 2.5rem; height: 5rem; }
	.nav.is-stuck .nav__bar { height: 4.25rem; }
	.nav__logo { height: 2.5rem; width: 2.5rem; }
	.nav__links { display: flex; }
	.nav__cta { display: inline-flex; }
	.nav__burger { display: none; }
	.nav__mobile { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 7rem 1.5rem 3rem; background: var(--midnight); }
.hero__video { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; filter: saturate(70%); opacity: 0; transition: opacity 2s ease-out; }
.hero__video.is-ready { opacity: .7; }
@media (prefers-reduced-motion: reduce) { .hero__video { transition: none; } }
.hero__overlay { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(2,47,64,.72) 0%, rgba(2,47,64,.18) 72%); z-index: 1; }
.hero__content { max-width: 80rem; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.hero__eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin-bottom: 2rem; font-weight: 500; }
.hero__title { font-size: clamp(2.5rem, 8vw, 6rem); font-weight: 500; line-height: 1.1; color: #fff; max-width: 900px; }
.hero__accent { color: var(--gold); }
.hero__actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: .75rem; }
.hero__actions .btn { width: 100%; }
.hero__scroll-cue { margin-top: 3rem; display: none; flex-direction: column; align-items: center; gap: .75rem; opacity: .5; color: #fff; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.hero__scroll-cue span { writing-mode: vertical-rl; transform: rotate(180deg); }
.hero__scroll-line { width: 1px; height: 3rem; background: #fff; }

@media (min-width: 420px) {
	.hero__actions { flex-direction: row; flex-wrap: wrap; }
	.hero__actions .btn { width: auto; }
}
@media (min-width: 640px) {
	.hero { padding-bottom: 5rem; }
}
@media (min-width: 768px) {
	.hero__scroll-cue { display: flex; position: absolute; bottom: 0; right: 0; }
}
@media (min-width: 1024px) {
	.hero { height: 100vh; justify-content: flex-end; padding: 0 2.5rem 5rem; }
}

/* =========================================================
   About
   ========================================================= */
.about { display: grid; min-height: 100vh; }
.about__text { display: flex; flex-direction: column; justify-content: center; padding: 5rem 2rem; background: var(--ivory); }
.about__text-inner { max-width: 32rem; margin: 0 auto; width: 100%; }
.about__heading { font-size: clamp(2.25rem, 4vw, 3.75rem); font-weight: 700; line-height: 1.08; color: var(--midnight); }
.about__paragraph { margin-top: 1.5rem; font-size: .875rem; line-height: 1.75; color: rgba(2,47,64,.72); }
.about__text-inner .link-arrow { margin-top: 2.5rem; }
.about__photo { position: relative; height: 42svh; min-height: 18rem; overflow: hidden; background: var(--slate); }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.about__photo:hover img { transform: scale(1.03); }

@media (min-width: 1024px) {
	.about { grid-template-columns: 1fr 1fr; }
	.about__text { padding: 7rem 4rem; }
	.about__photo { height: auto; min-height: auto; }
}

/* =========================================================
   Practice areas (home preview)
   ========================================================= */
.practice { display: flex; min-height: 70vh; align-items: center; padding: 6rem 1.5rem; background: #fff; }
.practice__grid { max-width: 80rem; margin: 0 auto; display: grid; gap: 3.5rem; }
.practice__heading { margin-top: 1.75rem; max-width: 28rem; font-size: clamp(2.25rem, 4vw, 3.75rem); line-height: 1.08; color: var(--midnight); }
.practice__paragraph { margin-top: 1.75rem; max-width: 24rem; font-size: .875rem; line-height: 1.75; color: rgba(2,47,64,.64); }
.practice__intro .link-arrow { margin-top: 2.25rem; }
.practice__cards { display: flex; flex-direction: column; gap: 1.25rem; }

.practice-card { display: grid; overflow: hidden; background: var(--mist); text-align: left; transition: background-color .5s; }
.practice-card:hover { background: var(--teal); }
.practice-card__index { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(2,47,64,.12); padding: 1.5rem 1.75rem; transition: border-color .5s; }
.practice-card:hover .practice-card__index { border-color: rgba(255,255,255,.2); }
.practice-card__index span:first-child { font-size: .875rem; letter-spacing: .18em; color: var(--teal); transition: color .5s; }
.practice-card:hover .practice-card__index span:first-child { color: rgba(255,255,255,.55); }
.practice-card__arrow { display: flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--teal); color: var(--teal); transition: all .5s; }
.practice-card:hover .practice-card__arrow { transform: rotate(-45deg); border-color: #fff; background: #fff; }
.practice-card__arrow--mobile { height: 2.25rem; width: 2.25rem; }
.practice-card__body { padding: 1.75rem; }
.practice-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.practice-card__eyebrow { margin-bottom: .75rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--teal); transition: color .5s; }
.practice-card:hover .practice-card__eyebrow { color: var(--gold); }
.practice-card__title { font-size: 1.5rem; color: var(--midnight); transition: color .5s; }
.practice-card:hover .practice-card__title { color: #fff; }
.practice-card__head > span.practice-card__arrow { display: none; }
.practice-card__desc { margin-top: 1.25rem; max-width: 36rem; font-size: .875rem; line-height: 1.75; color: rgba(2,47,64,.65); transition: color .5s; }
.practice-card:hover .practice-card__desc { color: rgba(255,255,255,.75); }
.practice-card__tags { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.practice-card__tags span { border: 1px solid rgba(2,47,64,.16); padding: .35rem .75rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(2,47,64,.66); transition: all .5s; }
.practice-card:hover .practice-card__tags span { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.7); }

@media (min-width: 640px) {
	.practice-card { grid-template-columns: 6rem 1fr; }
	.practice-card__index { flex-direction: column; justify-content: flex-start; border-bottom: 0; border-right: 1px solid rgba(2,47,64,.12); padding: 2.25rem 1rem; }
	.practice-card:hover .practice-card__index { border-color: rgba(255,255,255,.2); }
	.practice-card__arrow--mobile { display: none; }
	.practice-card__body { padding: 2.25rem; }
	.practice-card__head > span.practice-card__arrow { display: flex; flex-shrink: 0; }
}
@media (min-width: 1024px) {
	.practice { padding: 4rem 2.5rem; }
	.practice__grid { grid-template-columns: .72fr 1.28fr; gap: 5rem; }
	.practice-card__body { padding: 2.5rem; }
}

/* =========================================================
   Results / stats
   ========================================================= */
.results { display: grid; min-height: 96vh; }
.results__statement { display: flex; align-items: center; padding: 5rem 2rem; background: var(--teal); }
.results__statement h2 { max-width: 32rem; margin: 0 auto; font-size: clamp(1.3rem, 2.2vw, 2.15rem); font-weight: 500; line-height: 1.25; color: #fff; }
.results__statement-extra { margin-top: 1.5rem; display: block; }
.results__photo { position: relative; min-height: 58svh; overflow: hidden; background: var(--slate); }
.results__photo img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center; }
.results__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,47,64,.24), transparent); }

@media (min-width: 1024px) {
	.results { grid-template-columns: 1fr 1fr; height: 96vh; }
	.results__statement { padding: 3.5rem; }
	.results__photo { min-height: 0; }
}

/* =========================================================
   From Instagram (reels carousel)
   ========================================================= */
.reels { overflow: hidden; padding: 6rem 1.5rem; background: #fff; }
.reels__inner { max-width: 80rem; margin: 0 auto; }
.reels__head { margin-bottom: 3rem; display: flex; flex-direction: column; gap: 2rem; }
.reels__heading { margin-top: 1.25rem; max-width: 36rem; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.04; color: var(--midnight); }
.reels__nav { display: flex; gap: .75rem; }
.reels__nav-btn { display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--teal); color: var(--teal); font-size: 1.125rem; transition: all .2s; }
.reels__nav-btn:hover { background: var(--teal); color: #fff; }
.reels__nav-btn--next { border: none; background: var(--teal); color: #fff; }
.reels__nav-btn--next:hover { opacity: .8; }
.reels__track { display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.reels__track::-webkit-scrollbar { display: none; }
.reels__card { flex-shrink: 0; width: 82vw; max-width: 390px; overflow: hidden; scroll-snap-align: start; background: var(--ivory); border: 1px solid rgba(2,47,64,.14); }
.reels__card-frame { aspect-ratio: 9 / 16; background: var(--mist); }
.reels__card-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.reels__card-link { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); transition: all .2s; }
.reels__card-link:hover { background: var(--midnight); color: #fff; }

@media (min-width: 640px) {
	.reels__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
	.reels__card { width: 360px; }
}
@media (min-width: 1024px) {
	.reels { padding: 8rem 2.5rem; }
	.reels__card { width: 380px; }
}



/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--midnight); font-weight: 500; }
.site-footer__grid { max-width: var(--container-max); margin: 0 auto; display: grid; }
.site-footer__about { display: flex; flex-direction: column; padding: 3.5rem 1.5rem; }
.site-footer__brand { display: flex; max-width: 18rem; align-items: center; gap: 1rem; }
.site-footer__logo { height: 2.4rem; width: 2.4rem; object-fit: contain; }
.site-footer__brand span { font-size: .68rem; font-weight: 300; letter-spacing: .18em; color: #fff; white-space: nowrap; }
.site-footer__disclaimer { margin-top: 2rem; max-width: 26rem; font-size: .875rem; line-height: 1.8; color: rgba(255,255,255,.55); }
.site-footer__social { margin-top: 2.5rem; display: flex; gap: 1.25rem; }
.site-footer__social-link { color: rgba(255,255,255,.45); transition: color .2s; }
.site-footer__social-link:hover { color: #fff; }
.site-footer__right { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 3.5rem 1.5rem; }
.site-footer__sitemap-label { margin-bottom: 1.5rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.3); }
.site-footer__sitemap { display: none; grid-template-columns: 1fr; gap: .75rem 2rem; }
.site-footer__sitemap-link { font-size: .875rem; color: rgba(255,255,255,.55); transition: color .2s; }
.site-footer__sitemap-link:hover { color: #fff; }
.site-footer__contact { margin-top: 1.75rem; display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
.site-footer__contact-label { margin-bottom: .5rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.35); }
.site-footer__contact-value { display: inline-block; font-size: .875rem; color: rgba(255,255,255,.65); word-break: break-all; transition: color .2s; }
.site-footer__contact-value:hover { color: #fff; }
.site-footer__address { display: block; font-style: normal; line-height: 1.75; word-break: normal; }
.site-footer__legal-links { margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .75rem; color: rgba(255,255,255,.45); }
.site-footer__legal-links a:hover { color: #fff; }
.site-footer__copyright { font-size: .75rem; color: rgba(255,255,255,.2); letter-spacing: .04em; }
.site-footer__sitemap-label { display: none; }

@media (min-width: 768px) {
	.site-footer__sitemap { display: grid; }
	.site-footer__sitemap-label { display: block; }
}
@media (min-width: 768px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	.site-footer__about, .site-footer__right { padding: 5rem; }
	.site-footer__social { margin-top: auto; }
}
@media (min-width: 1280px) {
	.site-footer__sitemap, .site-footer__contact { grid-template-columns: 1fr 1fr; }
	.site-footer__contact-office { grid-column: 1 / -1; }
}

/* =========================================================
   Attorney page
   ========================================================= */
.attorney-profile { display: grid; }
.attorney-profile__photo { position: relative; min-height: 58svh; overflow: hidden; background: var(--midnight); }
.attorney-profile__photo img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: top; opacity: .8; }
.attorney-profile__panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 5rem 1.5rem; text-align: center; color: #fff; background: var(--slate); }
.attorney-profile__panel-inner { position: relative; display: flex; width: 100%; max-width: 32rem; flex-direction: column; align-items: flex-start; text-align: left; }
.attorney-profile__name { color: #fff; font-size: clamp(2.8rem, 10vw, 6rem); font-weight: 400; line-height: .98; }
.attorney-profile__name span { display: block; }
.attorney-profile__role { margin-top: 2rem; font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: #fff; }
.attorney-profile__summary { margin-top: 2.5rem; max-width: 32rem; font-size: .875rem; font-weight: 500; line-height: 1.8; color: #fff; }
.attorney-profile__contact { position: relative; margin: 2rem auto 0; display: grid; width: 100%; max-width: 32rem; grid-template-columns: 1fr; border: 1px solid rgba(255,255,255,.45); }
.attorney-profile__contact a { display: flex; align-items: center; justify-content: center; padding: .75rem 1.25rem; font-size: .75rem; letter-spacing: .08em; text-align: center; border-top: 1px solid rgba(255,255,255,.45); transition: all .2s; }
.attorney-profile__contact a:first-child { border-top: none; }
.attorney-profile__contact a:hover { background: #fff; color: var(--teal); }
.attorney-profile__social { display: flex; justify-content: center; border-top: 1px solid rgba(255,255,255,.45); }
.attorney-profile__social a { display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; transition: all .2s; padding: .5rem; }
.attorney-profile__social a:not(:first-child) { border-left: 1px solid rgba(255,255,255,.45); }
.attorney-profile__social a:hover { background: #fff; color: var(--teal); }

@media (min-width: 640px) {
	.attorney-profile__contact { grid-template-columns: 1fr auto auto; }
	.attorney-profile__contact a { border-top: none; border-left: 1px solid rgba(255,255,255,.45); }
	.attorney-profile__contact a:first-child { border-left: none; }
	.attorney-profile__social { border-top: none; border-left: 1px solid rgba(255,255,255,.45); }
}

.attorney-bio { padding: 6rem 1.5rem; background: #fff; }
.attorney-bio__grid { max-width: 80rem; margin: 0 auto; display: grid; gap: 3rem; }
.attorney-bio__eyebrow { margin-bottom: 1.25rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--midnight); }
.attorney-bio__heading { color: var(--teal); font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 600; line-height: 1.05; }
.attorney-bio__aside .btn { margin-top: 2.5rem; }
.attorney-bio__badge { margin-top: 2.5rem; display: block; width: 8rem; transition: opacity .2s; }
@media (min-width: 640px) { .attorney-bio__badge { width: 9rem; } }
@media (min-width: 1024px) { .attorney-bio__badge { width: 10rem; } }
.attorney-bio__badge:hover { opacity: .8; }
.attorney-bio__content { display: flex; flex-direction: column; gap: 1.75rem; }
.attorney-bio__content p { font-size: 1.125rem; line-height: 1.85; color: rgba(2,47,64,.88); }

@media (min-width: 640px) { .attorney-profile__panel { padding: 5rem 3rem; } }
@media (min-width: 1024px) {
	.attorney-profile { grid-template-columns: 1fr 1fr; }
	.attorney-profile__photo { min-height: 100vh; order: 2; }
	.attorney-profile__panel { min-height: 100vh; padding: 4rem; order: 1; }
	.attorney-bio { padding: 9rem 2.5rem; }
	.attorney-bio__grid { grid-template-columns: .7fr 1.3fr; gap: 6rem; }
	.attorney-bio__aside { position: sticky; top: 3rem; align-self: flex-start; }
}

/* =========================================================
   Practice area page
   ========================================================= */
.practice-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-start; overflow: hidden; padding: 8rem 1.5rem 21rem; background: var(--teal); }
.practice-hero__illustration { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); pointer-events: none; height: 30%; width: 86%; }

.practice-hero__illustration { opacity: 0; animation: practice-illustration-fade .6s ease-out .15s forwards; }
.practice-hero__illustration--scales path,
.practice-hero__illustration--scales circle {
	stroke-dasharray: 1200;
	stroke-dashoffset: 1200;
	animation: practice-illustration-draw-scales 2s cubic-bezier(.65,0,.35,1) .2s forwards;
}
.practice-hero__illustration--obelisk line,
.practice-hero__illustration--obelisk path {
	stroke-dasharray: 1500;
	stroke-dashoffset: 1500;
	animation: practice-illustration-draw-obelisk 2s cubic-bezier(.65,0,.35,1) .2s forwards;
}
@keyframes practice-illustration-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes practice-illustration-draw-scales { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
@keyframes practice-illustration-draw-obelisk { from { stroke-dashoffset: 1500; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
	.practice-hero__illustration { opacity: 1; animation: none; }
	.practice-hero__illustration--scales path,
	.practice-hero__illustration--scales circle,
	.practice-hero__illustration--obelisk line,
	.practice-hero__illustration--obelisk path {
		stroke-dashoffset: 0;
		animation: none;
	}
}
.practice-hero__grid { position: relative; max-width: 80rem; margin: 0 auto; width: 100%; display: grid; gap: 2.5rem; }
.practice-hero__title { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #fff; }
@media (min-width: 640px) { .practice-hero__title { font-size: 1.125rem; } }
.practice-hero__intro { white-space: pre-line; max-width: 48rem; font-size: 1.721rem; font-weight: 700; line-height: 1.35; color: #fff; }
.practice-hero__intro + .btn { margin-top: 2rem; font-weight: 500; }

.practice-services { padding: 6rem 1.5rem; background: var(--slate); }
.practice-services__head { max-width: 80rem; margin: 0 auto 3.5rem; }
.practice-services__head h2 { margin: 1rem 0 1.5rem; color: #fff; font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 500; line-height: 1.2; }
.practice-services__detail { max-width: 28rem; font-size: .875rem; font-weight: 500; line-height: 1.75; color: rgba(255,255,255,.85); }

.service-grid { max-width: 80rem; margin: 0 auto; display: grid; border-left: 1px solid rgba(255,255,255,.24); border-top: 1px solid rgba(255,255,255,.24); }
.service-card { min-height: 14rem; border-bottom: 1px solid rgba(255,255,255,.24); border-right: 1px solid rgba(255,255,255,.24); padding: 1.75rem; }
.service-card__index { margin-bottom: 2rem; display: block; font-size: .875rem; color: var(--gold); }
.service-card__title { margin-bottom: .75rem; font-size: 1.5rem; font-weight: 600; color: #fff; }
.service-card__desc { font-size: .875rem; font-weight: 500; line-height: 1.75; color: rgba(255,255,255,.9); }

.practice-services__actions { max-width: 80rem; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .75rem; }

@media (min-width: 420px) { .practice-services__actions { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 640px) {
	.practice-hero { padding-bottom: 24rem; }
	.practice-hero__illustration--scales { height: 34%; width: 68%; }
}
@media (min-width: 768px) {
	.practice-hero { padding-bottom: 6rem; }
	.practice-hero__illustration { bottom: 0; transform: none; height: 51%; width: 39.6%; }
	.practice-hero__illustration--scales { left: 0; }
	.practice-hero__illustration--obelisk { left: 6%; }
	.service-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	.practice-hero { padding: 12rem 2.5rem 6rem; }
	.practice-hero__grid { grid-template-columns: .8fr 1.2fr; gap: 6rem; }
	.practice-services { padding: 8rem 2.5rem; }
	.service-card { padding: 2.25rem; }
}
@media (min-width: 1280px) {
	.service-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* =========================================================
   Book a Talk
   ========================================================= */
.book-hero { padding: 7rem 1.5rem 5rem; text-align: center; background: #fff; }
@media (min-width: 640px) { .book-hero { padding: 9rem 1.5rem 7rem; } }
@media (min-width: 1024px) { .book-hero { padding: 11rem 2.5rem 9rem; } }
.book-hero__inner { max-width: 62rem; margin: 0 auto; }
.book-hero__inner h1 { margin-top: 1.5rem; font-size: clamp(2.35rem, 6vw, 5.8rem); font-weight: 500; line-height: 1.05; color: var(--midnight); }
.book-hero__copy { margin: 1.75rem auto 0; max-width: 48rem; font-size: 1rem; font-weight: 300; line-height: 1.8; color: rgba(2,47,64,.62); }

.consultations { display: grid; min-height: 100vh; }
.consultation-card { display: flex; min-width: 0; flex-direction: column; background: var(--ivory); }
.consultation-card:nth-child(2n) { background: var(--ivory-dark); }
.consultation-card__head { width: 100%; border-bottom: 1px solid rgba(2,47,64,.1); padding: 2rem 1.5rem; }
.consultation-card__person { margin-bottom: 1.75rem; display: flex; align-items: center; gap: 1rem; }
.consultation-card__avatar { height: 3rem; width: 3rem; border-radius: 999px; object-fit: cover; object-position: top; }
.consultation-card__name { font-weight: 500; color: var(--midnight); }
.consultation-card__focus { margin-top: .25rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); }
.consultation-card__title { font-size: clamp(1.55rem, 2.5vw, 2.25rem); font-weight: 500; line-height: 1.2; color: var(--midnight); }
.consultation-card__meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .75rem; color: rgba(2,47,64,.58); }
.consultation-card__desc { margin-top: 1.5rem; font-size: .875rem; font-weight: 300; line-height: 1.75; color: rgba(2,47,64,.72); }
.consultation-card__desc--below { margin-top: 1.75rem; }
.consultation-card__desc-link, .consultation-card__desc a { border-bottom: 1px solid var(--teal); color: var(--teal); }
.consultation-card__cta { margin-top: 1.75rem; width: auto; }
.consultation-card__embed { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 1.75rem 1rem; }
.consultation-card__frame { overflow: hidden; border: 1px solid rgba(2,47,64,.14); background: #fff; }
.consultation-card__frame iframe { width: 100%; height: 680px; border: 0; display: block; }
@media (min-width: 640px) { .consultation-card__frame iframe { height: 760px; } }
.consultation-card__note { margin-top: 1.25rem; text-align: center; font-size: .75rem; line-height: 1.7; color: rgba(2,47,64,.48); }

@media (min-width: 1024px) {
	.consultations { grid-template-columns: 1fr 1fr; }
	.consultation-card { min-height: 100vh; }
	.consultation-card__head, .consultation-card__embed { width: 80%; margin: 0 auto; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact-split { display: grid; min-height: 100vh; }
.contact-split__panel { display: flex; min-height: 100vh; flex-direction: column; justify-content: flex-start; padding: 7rem 1.5rem 4rem; background: var(--slate); }
.contact-split__inner { max-width: 36rem; margin: 0 auto; width: 100%; }
.contact-split__inner h1 { color: #fff; font-size: clamp(1.32rem, 3.2vw, 2.72rem); font-weight: 500; line-height: 1.05; }
.contact-split__lede { margin-top: 1rem; max-width: 28rem; font-size: .875rem; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.62); }
.contact-split__form { margin-top: 2.5rem; }
.contact-split__meta { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 2rem; font-size: .75rem; color: rgba(255,255,255,.55); }
.contact-split__meta-label { margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.3); }
.contact-split__meta a { display: block; transition: color .2s; }
.contact-split__meta a:hover { color: #fff; }
.contact-split__badges { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 2rem; }
.contact-split__badges img { height: 6rem; width: 6rem; object-fit: contain; }
.contact-split__badge-link { display: block; height: 6rem; width: 6rem; transition: opacity .2s; }
.contact-split__badge-link:hover { opacity: .8; }
.contact-split__badge-link img { height: 100%; width: 100%; }
.contact-split__photo { position: relative; min-height: 20rem; }
.contact-split__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 640px) {
	.contact-split__panel { padding: 8rem 2.5rem 5rem; }
	.contact-split__photo { min-height: 65vh; }
	.contact-split__meta { grid-template-columns: repeat(3, 1fr); }
	.contact-split__badges { justify-content: flex-start; gap: 1.5rem; }
	.contact-split__badges img { height: 9rem; width: 9rem; }
	.contact-split__badge-link { height: 9rem; width: 9rem; }
}
@media (min-width: 1024px) {
	.contact-split { grid-template-columns: 1fr 1fr; }
	.contact-split__panel { justify-content: center; padding: 9rem 4rem 6rem; }
	.contact-split__photo { min-height: 100vh; }
}

/* ---------- Contact Form 7 styling (dark panel variant) ---------- */
.contact-split .wpcf7-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-split .wpcf7-form h3 { color: #fff; }
.contact-split .wpcf7-form p { margin: 0; }
.contact-split .wpcf7-form-control-wrap { display: block; }
.contact-split label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); margin-bottom: .5rem; }
.contact-split .wpcf7-form-row { display: grid; gap: 1.25rem; }
.contact-split input[type="text"],
.contact-split input[type="email"],
.contact-split input[type="tel"],
.contact-split select,
.contact-split textarea {
	width: 100%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05);
	padding: .75rem 1rem; font-size: .875rem; color: #fff; outline: none; transition: border-color .2s;
	font-family: var(--font-sans); appearance: none; border-radius: 0;
}
.contact-split select option { color: var(--midnight); }
.contact-split input::placeholder, .contact-split textarea::placeholder { color: rgba(255,255,255,.25); }
.contact-split input:focus, .contact-split select:focus, .contact-split textarea:focus { border-color: var(--sky); }
.contact-split textarea { resize: none; height: 106px; }
.contact-split input[type="submit"] {
	width: 100%; padding: .9rem 1.75rem; font-size: .72rem; font-weight: 500; text-transform: uppercase;
	letter-spacing: .14em; background: var(--gold); color: var(--midnight); transition: background .2s; border: none;
}
.contact-split input[type="submit"]:hover { background: var(--sky); cursor: pointer; }
.contact-split .wpcf7-response-output { border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: .8rem; padding: .75rem 1rem; margin: 0; }
.contact-split form.sent .wpcf7-response-output { border-color: var(--sky); }
.wpcf7-spinner { position: absolute; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

@media (min-width: 640px) {
	.contact-split .wpcf7-form-row--2 { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Standard page (Privacy / Terms)
   ========================================================= */
.standard-page__hero { padding: 8rem 1.5rem 5rem; background: var(--ivory); }
.standard-page__hero-inner { max-width: 80rem; margin: 0 auto; }
.standard-page__hero .eyebrow { margin-bottom: 1rem; }
.standard-page__title { font-size: clamp(2.8rem, 8vw, 7.5rem); line-height: .92; letter-spacing: -0.015em; color: var(--slate); max-width: 64rem; }
.standard-page__lede { margin-top: 2.5rem; max-width: 48rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 1rem; line-height: 1.8; color: rgba(2,47,64,.7); }
.standard-page__body { padding: 5rem 1.5rem; background: #fff; }
.standard-page__grid { max-width: 80rem; margin: 0 auto; display: grid; gap: 3.5rem; }

@media (min-width: 640px) {
	.standard-page__hero { padding: 10rem 2.5rem 6rem; }
	.standard-page__body { padding: 6rem 2.5rem; }
}
@media (min-width: 1024px) {
	.standard-page__hero { padding: 12rem 2.5rem 8rem; }
	.standard-page__body { padding: 8rem 2.5rem; }
}
.standard-page__aside .eyebrow { margin-bottom: 1.25rem; }
.standard-page__aside h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); line-height: 1.04; color: var(--slate); max-width: 24rem; }

.standard-page__content { color: rgba(2,47,64,.72); line-height: 1.75; }
.legal-article { border-top: 1px solid rgba(2,47,64,.14); padding: 2.25rem 0; }
.legal-article h2 { font-size: 1.5rem; line-height: 1.2; color: var(--teal); margin-bottom: 1.1rem; }
@media (min-width: 640px) { .legal-article h2 { font-size: 1.875rem; } }
.legal-article p { margin-bottom: 1rem; }
.legal-article p:last-child { margin-bottom: 0; }
.legal-article strong { color: var(--slate); }
.legal-section-title { border-top: 1px solid rgba(2,47,64,.14); padding: 3.5rem 0; }
.legal-section-title .eyebrow { margin-bottom: 1rem; }
.legal-section-title h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.04; color: var(--slate); margin-bottom: 0; }

@media (min-width: 640px) { .legal-section-title { padding: 4rem 0; } }

.standard-page__content ul { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-direction: column; gap: .7rem; }
.standard-page__content li { display: flex; gap: .85rem; }
.standard-page__content li::before { content: ""; width: 6px; height: 6px; margin-top: .55em; flex-shrink: 0; border-radius: 50%; background: var(--gold); }

.legal-callout { margin-top: 1.75rem; border-left: 2px solid var(--gold); padding-left: 1.5rem; }
.legal-callout__label { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); margin-bottom: .4rem; }

.standard-page__content a { color: var(--teal); text-decoration: none; border-bottom: 1px solid var(--teal); }

@media (min-width: 1024px) {
	.standard-page__grid { grid-template-columns: .34fr .66fr; gap: 6rem; }
	.standard-page__aside { position: sticky; top: 7rem; align-self: flex-start; }
}

/* =========================================================
   Misc utility
   ========================================================= */
[hidden] { display: none !important; }

@media (max-width: 768px) {
	.attorney-profile__social a { border-top: 0; }
	.practice-hero__intro { font-size: 1.147rem; }
	.service-card__title { font-size: 1.25rem; }
	.wpcf7-spinner { left: 0; }
	.consultation-card__cta { width: 100%; }
}


@media (max-width: 1600px) {
	.consultation-card__title {
		padding-right: 15%;
	}
	.consultation-card__desc {
		font-size: .86rem;
	}
}