/*
Theme Name: Maddocks
Theme URI: https://maddocks.com.au
Author: Maddocks
Description: Custom theme for the full Maddocks site map (Our People, Expertise, Sectors, Insights, About, Careers).
Version: 0.2.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: maddock-lawyers
*/

:root {
	--teal-dark: #00313c;
	--teal: #0d5257;
	--orange: rgb(245 129 43 / 90%);
	--orange-solid: #f5812b;
	--white: #ffffff;
	--surface: #f4f4f2;
	--border: rgba(0,0,0,0.1);
	--font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--font-heading: "DM Serif Text", Georgia, "Times New Roman", serif;
	--max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--teal-dark);
	background: var(--white);
	line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: 400;
	line-height: 1.25;
	color: var(--teal-dark);
	margin: 0 0 20px;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--teal-dark); color: #fff; padding: 12px 16px; z-index: 1000; }
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */
.header-wrap { background: var(--teal-dark); padding: 0 clamp(12px, 3vw, 24px); }
.site-header { background: var(--white); display: flex; flex-direction: column; position: relative; z-index: 100; }

.header-top-row { display: flex; align-items: center; justify-content: flex-end; gap: 26px; padding: 14px 20px 10px; }
.social-icons { display: flex; align-items: center; gap: 18px; }
.social-icons a { color: var(--teal-dark); display: flex; }
.social-icons svg { width: 18px; height: 18px; }
.online-access { border: 1px solid var(--teal-dark); color: var(--teal-dark); font-size: 15px; padding: 8px 16px; display: flex; align-items: center; gap: 6px; border-radius: 2px; }
.online-access svg { width: 12px; height: 12px; }

.header-bottom-row { display: flex; align-items: center; justify-content: flex-start; gap: 24px; padding: 0 20px 20px; flex-wrap: wrap; }
.header-bottom-row .mega-menu { margin-left: auto; }
.site-logo.brand { display: flex; align-items: center; gap: 12px; }
.site-logo.brand svg { width: 44px; height: 44px; display: block; }
.site-logo.brand .custom-logo { height: 44px; width: auto; display: block; }
.site-logo.brand span { font-family: var(--font-heading); font-size: 26px; color: var(--teal-dark); }

.search-icon { color: var(--teal-dark); display: flex; }
.search-icon svg { width: 19px; height: 19px; }

/* Mega menu */
.mega-menu { display: flex; }
.mega-menu > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.mega-menu .menu-item { position: relative; }
.mega-menu .menu-item__link { display: flex; align-items: center; gap: 5px; padding: 12px 14px; color: var(--teal-dark); font-weight: 500; font-size: 17px; white-space: nowrap; }
.mega-menu .menu-item__link:hover { text-decoration: none; opacity: 0.75; }
.menu-item--has-mega > .menu-item__link::after { content: ""; width: 9px; height: 6px; margin-left: 2px; background: currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%); display: inline-block; }
.mega-menu__toggle { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; padding: 0; }

.mega-menu__panel {
	display: none;
	position: absolute; left: 0; top: 100%;
	background: var(--white);
	border-top: 3px solid var(--orange-solid);
	box-shadow: 0 16px 32px rgba(0,0,0,0.12);
	min-width: 640px;
	padding: 28px;
	z-index: 10;
}
.menu-item--has-mega.is-open .mega-menu__panel,
.menu-item--has-mega:hover .mega-menu__panel { display: block; }
.mega-menu__columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mega-menu__column-title { margin: 0 0 8px; }
.mega-menu__column-title .menu-item__link { padding: 0; color: var(--teal); font-weight: 700; }
.mega-menu__column-title .menu-item__link::after { display: none; }
.mega-menu__links { list-style: none; margin: 0; padding: 0; }
.mega-menu__links li { margin-bottom: 8px; }
.mega-menu__links .menu-item__link { padding: 0; font-weight: 400; font-size: 15px; color: #444; }

/* "Expertise" nav item: purpose-built hover panel listing only the
   Expertise Area pages that have real content yet */
.expertise-mega {
	display: none;
	position: absolute; left: 0; top: 100%;
	background: var(--white);
	border-top: 3px solid var(--orange-solid);
	box-shadow: 0 16px 32px rgba(0,0,0,0.12);
	min-width: 300px;
	padding: 12px 0;
	z-index: 10;
}
.menu-item--has-mega:hover .expertise-mega,
.menu-item--has-mega.is-open .expertise-mega { display: block; }

.expertise-mega__list { list-style: none; margin: 0; padding: 0; }
.expertise-mega__item { display: block; padding: 10px 28px; color: var(--teal-dark); font-weight: 500; font-size: 16px; white-space: nowrap; }
.expertise-mega__item:hover { text-decoration: none; background: var(--surface); }
.expertise-mega__item.is-active { color: var(--orange-solid); }
.expertise-mega__item.is-disabled { color: #aaa; cursor: default; }
.expertise-mega__item.is-disabled:hover { background: transparent; }

@media (max-width: 960px) {
	.expertise-mega { display: none !important; }
}

.mobile-nav-toggle { display: none; }

@media (max-width: 960px) {
	.header-top-row { justify-content: space-between; }
	.mega-menu > ul { flex-direction: column; align-items: stretch; position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: var(--white); padding: 80px 20px 20px; overflow-y: auto; transform: translateX(100%); transition: transform 0.2s ease; }
	.mega-menu.is-open > ul { transform: translateX(0); }
	.mega-menu__panel { position: static; box-shadow: none; border: 0; min-width: 0; padding: 8px 0 8px 16px; }
	.mega-menu__columns { grid-template-columns: 1fr; gap: 20px; }
	.mobile-nav-toggle { display: block; background: none; border: 1px solid var(--teal-dark); border-radius: 4px; padding: 8px 12px; cursor: pointer; }
}

/* ---------------------------------------------------------
   Hero (homepage carousel)
--------------------------------------------------------- */
.hero { position: relative; min-height: 620px; margin-top: -150px; padding-top: 150px; background: var(--teal-dark); overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.hero.is-dragging { cursor: grabbing; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: 620px; max-width: 640px; padding: 40px 60px 60px clamp(24px, 6vw, 48px); }
.hero-content h1 { color: var(--white); font-weight: 300; font-size: clamp(28px, 4vw, 44px); line-height: 1.25; margin-bottom: 24px; }
.hero-content .hero-subtitle { color: var(--white); font-size: 19px; line-height: 1.6; max-width: 440px; margin: 0 0 24px; opacity: 0.92; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--teal-dark); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,49,60,0.85) 0%, rgba(0,49,60,0.55) 42%, rgba(0,49,60,0.15) 75%); }
.hero-dots { display: flex; gap: 8px; position: absolute; left: clamp(24px, 6vw, 48px); bottom: 32px; z-index: 3; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.35); padding: 0; cursor: pointer; }
.hero-dots button.is-active { background: var(--orange-solid); }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; }

.read-more, .discover-more, .see-all, .more-insights { color: var(--orange-solid); font-weight: 400; font-size: 17px; display: inline-flex; align-items: center; gap: 8px; }
.discover-more, .see-all, .more-insights { color: var(--white); font-size: 16px; font-weight: 500; }
.read-more svg, .discover-more svg, .see-all svg, .more-insights svg { width: 13px; height: 13px; transition: transform .2s ease; }
.read-more:hover svg, .discover-more:hover svg, .see-all:hover svg, .more-insights:hover svg { transform: translateX(4px); }

@media (max-width: 900px) {
	.hero { min-height: 520px; }
	.hero-content { min-height: 520px; padding: 40px 24px; }
}

/* Simple hero used on inner pages (not the homepage carousel) */
.page-hero { background: var(--surface); padding: 56px 0; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.page-hero .hero__subtitle { font-size: 1.1rem; color: #444; max-width: 60ch; font-family: var(--font-body); }

/* ---------------------------------------------------------
   Expertise + Insights split section
--------------------------------------------------------- */
.split-section { display: grid; grid-template-columns: 3fr 2fr; background: #000; }
.expertise-panel { background: var(--teal); padding: 64px clamp(24px, 6vw, 64px); }
.expertise-panel h2, .insights-panel h2 { color: var(--white); font-size: 34px; }
.expertise-panel > p { color: rgba(255,255,255,0.9); font-size: 17px; line-height: 1.6; max-width: 460px; margin: 0 0 40px; }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; row-gap: 30px; column-gap: 24px; margin-bottom: 40px; }
.expertise-item { display: flex; align-items: flex-start; gap: 14px; color: var(--white); font-size: 17px; font-weight: 500; line-height: 1.35; }
.expertise-item .icon { flex: none; width: 26px; height: 26px; color: rgba(255,255,255,0.75); margin-top: 2px; }
.expertise-item .icon svg { width: 100%; height: 100%; }
.expertise-item .chevron { flex: none; width: 14px; height: 14px; color: var(--orange-solid); margin-left: auto; align-self: center; opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
.expertise-item:hover .chevron { opacity: 1; transform: translateX(0); }
.expertise-item:hover span:first-of-type { text-decoration: underline; text-underline-offset: 4px; }

.insights-panel { background: #000; padding: 64px clamp(24px, 6vw, 64px); }
.insight-article { margin-bottom: 30px; }
.insight-article h3 { color: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 20px; line-height: 1.35; margin: 0 0 8px; }
.insight-article p { color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.55; margin: 0; }

@media (max-width: 900px) {
	.split-section { grid-template-columns: 1fr; }
	.expertise-grid { grid-template-columns: 1fr; row-gap: 24px; }
	.expertise-panel, .insights-panel { padding: 48px 24px; }
}

/* ---------------------------------------------------------
   Article cards (homepage features)
--------------------------------------------------------- */
.articles-section { background: var(--surface); padding: 72px clamp(24px, 6vw, 48px); }
.articles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: var(--max-width); margin: 0 auto; }
.article-card { background: var(--white); display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.article-card .card-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: var(--surface); }
.article-card .card-body { display: flex; flex-direction: column; flex: 1; padding: 28px 32px 32px; }
.article-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 21px; line-height: 1.35; margin: 0 0 12px; }
.article-byline { font-size: 14px; color: #555; margin: -6px 0 14px; }
.article-card .card-desc { font-size: 16px; line-height: 1.6; color: #444; margin: 0 0 26px; }
.card-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start; background: var(--teal-dark); color: var(--white); font-size: 15px; font-weight: 500; padding: 13px 22px; border-radius: 2px; }
.card-cta svg { width: 12px; height: 12px; }
.card-cta:hover { background: var(--teal); text-decoration: none; }

@media (max-width: 900px) {
	.articles-section { padding: 48px 24px; }
	.articles-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Our people carousel
--------------------------------------------------------- */
.people-section { background: var(--white); padding: 72px 0 80px; display: flex; align-items: center; gap: 48px; overflow: hidden; }
.people-intro { flex: none; width: clamp(260px, 26vw, 400px); padding-left: clamp(24px, 6vw, 48px); }
.people-intro h2 { font-size: 32px; margin-bottom: 18px; }
.people-intro p { font-size: 17px; line-height: 1.6; color: #333; margin: 0 0 28px; }
.cta-btn { display: inline-flex; align-items: center; background: var(--teal-dark); color: var(--white); font-size: 15px; font-weight: 500; padding: 14px 22px; border-radius: 2px; }
.cta-btn:hover { background: var(--teal); text-decoration: none; }

.people-carousel-wrap { flex: 1; min-width: 0; position: relative; }
.people-carousel { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x proximity; padding-right: clamp(24px, 6vw, 48px); scrollbar-width: none; cursor: grab; user-select: none; }
.people-carousel img, .people-carousel a { -webkit-user-drag: none; user-drag: none; }
.people-carousel::-webkit-scrollbar { display: none; }
.people-carousel.dragging { cursor: grabbing; scroll-snap-type: none; }
.person-card { flex: none; width: 240px; scroll-snap-align: start; }
.person-photo-frame { display: block; position: relative; width: 100%; aspect-ratio: 3 / 3.4; overflow: hidden; background: var(--teal); }
.person-photo-frame .person-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.person-card .person-name { font-size: 17px; font-weight: 500; color: var(--teal-dark); text-align: center; margin: 18px 0 4px; }
.person-card .person-name a { text-decoration: underline; }
.person-card .person-role { font-size: 15px; color: #666; text-align: center; }

@media (max-width: 900px) {
	.people-section { flex-direction: column; align-items: flex-start; gap: 32px; padding: 48px 0 56px; }
	.people-intro { width: auto; padding: 0 24px; }
	.people-carousel { padding-left: 24px; padding-right: 24px; }
}

/* ---------------------------------------------------------
   Careers + quote
--------------------------------------------------------- */
.careers-quote { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.careers-panel { background: var(--teal); display: flex; align-items: center; padding: 48px clamp(24px, 6vw, 64px); }
.careers-panel .inner { max-width: 440px; }
.careers-panel h2 { color: var(--white); font-size: 32px; margin-bottom: 18px; }
.careers-panel p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.9); margin: 0 0 24px; }

.quote-panel { background: #000; display: flex; align-items: center; padding: 48px clamp(24px, 6vw, 64px); }
.quote-panel .inner { max-width: 600px; }
.quote-panel blockquote { font-family: var(--font-heading); color: var(--white); font-size: 28px; line-height: 1.4; margin: 0 0 24px; }
.quote-panel cite { font-style: normal; font-size: 15px; color: rgba(255,255,255,0.8); }

@media (max-width: 900px) {
	.careers-quote { grid-template-columns: 1fr; min-height: auto; }
	.careers-panel, .quote-panel { padding: 48px 24px; }
	.quote-panel blockquote { font-size: 22px; }
}

/* ---------------------------------------------------------
   Join the team CTA
--------------------------------------------------------- */
.join-team { background: var(--teal-dark); padding: 72px 24px; text-align: center; }
.join-team .eyebrow { font-size: 16px; color: var(--white); margin: 0 0 12px; }
.join-team h2 { color: var(--white); font-size: 34px; margin: 0 0 32px; }
.join-team .cta-stack { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.join-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--white); color: var(--teal-dark); font-size: 16px; width: 266px; padding: 14px 20px; border-radius: 1px; }
.join-btn svg { width: 11px; height: 11px; }
.join-btn:hover { background: #f2f2f2; text-decoration: none; }

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.site-footer { background: var(--teal-dark); padding: 64px clamp(24px, 6vw, 48px) 0; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,0.9); }
.footer-top { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)) 1.4fr; gap: 32px; padding: 0 0 56px; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 17px; margin: 0 0 22px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-col a:hover { text-decoration: underline; }
.footer-col .menu-item.is-disabled span, .footer-links span.is-disabled { color: rgba(255,255,255,0.4); cursor: default; }

.footer-newsletter p { color: var(--white); font-weight: 700; font-size: 18px; line-height: 1.4; margin: 0 0 16px; }
.footer-newsletter .accent-text { color: var(--orange-solid); }
.signup-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--teal-dark) !important; font-size: 15px; font-weight: 500; padding: 12px 20px; margin-bottom: 24px; }
.signup-btn svg { width: 11px; height: 11px; }
.signup-btn:hover { background: #f2f2f2; text-decoration: none; }

.badges-box { max-width: 420px; }
.badges-box .badges-image { width: 100%; height: auto; display: block; border-radius: 6px; }

.footer-offices { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 48px; padding-bottom: 40px; }
.office { display: flex; align-items: flex-start; gap: 10px; }
.office svg { width: 18px; height: 18px; color: var(--white); margin-top: 3px; flex: none; }
.office a { color: var(--white); }
.office .office-name { color: var(--white); font-size: 17px; margin-bottom: 4px; }
.office .office-phone { color: rgba(255,255,255,0.85); font-size: 15px; }
.acknowledgement { flex: 1; min-width: 280px; margin: 0; color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.6; }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.18); margin: 0; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 28px 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 40px; width: auto; display: block; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-links a { font-size: 15px; }
.footer-links a:hover { text-decoration: underline; }

@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
	.footer-top { grid-template-columns: 1fr; }
	.footer-offices { flex-direction: column; gap: 24px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------
   Shared inner-page components (Expertise/Sectors/Insights/etc.)
--------------------------------------------------------- */
.breadcrumbs { padding: 16px 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 0.85rem; color: #555; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; }

.section { padding: 48px 0; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; color: inherit; }
.card:hover { border-color: var(--teal); text-decoration: none; }
.card__media { display: block; aspect-ratio: 16/10; background: var(--surface); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.card__title { font-weight: 700; }
.card__excerpt { color: #555; font-size: 0.9rem; }

.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.filter-pills a { display: inline-block; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.85rem; }
.filter-pills a.is-active { background: var(--teal-dark); color: var(--white); border-color: var(--teal-dark); }

.pagination ul { display: flex; gap: 8px; list-style: none; padding: 0; margin: 32px 0 0; }
.pagination a, .pagination span { display: inline-block; padding: 8px 12px; border: 1px solid var(--border); border-radius: 4px; }

.entry-content { max-width: 75ch; }
.entry-content > * + * { margin-top: 1em; }

.person-hero { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.person-hero img { border-radius: 4px; }
@media (max-width: 640px) { .person-hero { grid-template-columns: 1fr; } }

/* Person detail page */
.person-detail { display: grid; grid-template-columns: 300px 1fr; gap: 48px; max-width: 1180px; margin: 0 auto; padding: 40px 24px 80px; align-items: start; }
.person-detail__card { border: 1px solid var(--border); }
.person-detail__photo { aspect-ratio: 3/4; background: var(--teal); }
.person-detail__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-detail__photo .person-photo { display: block; width: 100%; height: 100%; }
.person-detail__card-body { padding: 20px; }
.person-detail__card-body h1 { font-size: 20px; margin: 0 0 4px; }
.person-detail__role { color: var(--teal); font-weight: 500; font-size: 14px; margin: 0 0 16px; }
.person-detail__meta { list-style: none; margin: 0 0 20px; padding: 0; }
.person-detail__meta li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #444; margin-bottom: 10px; }
.person-detail__meta li svg { width: 16px; height: 16px; flex: none; color: var(--teal); }
.person-detail__meta li a { color: #444; }
.person-detail__meta li a:hover { color: var(--teal); }

.person-detail__btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--border); font-size: 14px; font-weight: 500; }
.person-detail__btn svg { width: 16px; height: 16px; flex: none; }
.person-detail__btn:hover { text-decoration: none; }
.person-detail__btn--email { border-color: var(--orange-solid); color: var(--orange-solid); }
.person-detail__btn--email:hover { background: var(--orange-solid); color: var(--white); }
.person-detail__btn--linkedin { color: var(--teal-dark); }
.person-detail__btn--linkedin:hover { background: var(--surface); }

.person-detail__content h2 { font-size: 24px; color: var(--teal-dark); margin: 0 0 16px; }
.person-detail__content .entry-content { font-size: 15px; line-height: 1.75; color: #333; margin-bottom: 40px; }
.person-detail__content .entry-content > * + * { margin-top: 1em; }

.person-accordion { border-top: 1px solid var(--border); }
.person-accordion__item { border-bottom: 1px solid var(--border); }
.person-accordion__trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0; cursor: pointer; padding: 16px 4px; text-align: left; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--teal); }
.person-accordion__icon { position: relative; width: 14px; height: 14px; flex: none; }
.person-accordion__icon::before, .person-accordion__icon::after { content: ""; position: absolute; background: var(--orange-solid); }
.person-accordion__icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.person-accordion__icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); transition: opacity 0.15s ease; }
.person-accordion__item.is-open .person-accordion__icon::after { opacity: 0; }
.person-accordion__panel { display: none; padding: 0 4px 18px; }
.person-accordion__item.is-open .person-accordion__panel { display: block; }
.person-accordion__panel p { font-size: 14px; line-height: 1.7; color: #444; margin: 0; }

@media (max-width: 800px) {
	.person-detail { grid-template-columns: 1fr; }
	.person-detail__card { max-width: 340px; }
}

.btn { display: inline-block; padding: 12px 24px; background: var(--teal-dark); color: var(--white); border-radius: 4px; font-weight: 600; }
.btn:hover { text-decoration: none; opacity: 0.9; }
.text-muted { color: #555; }

/* ---------------------------------------------------------
   Our People listing page
--------------------------------------------------------- */
.breadcrumb-bar { background: var(--teal-dark); padding: 14px clamp(24px, 6vw, 48px); }
.breadcrumb-bar a, .breadcrumb-bar span { font-size: 14px; color: rgba(255,255,255,0.85); }
.breadcrumb-bar a { color: var(--white); font-weight: 500; }
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-bar .sep { margin: 0 8px; opacity: 0.5; }

.people-page { background: #fafafa; }

/* Insight article detail page */
.insight-hero { background: var(--teal-dark); padding: 32px clamp(24px, 6vw, 48px) 40px; }
.insight-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 20px; }
.insight-hero__main { max-width: 820px; }
.insight-badge { display: inline-block; background: var(--orange-solid); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 5px 12px; margin-bottom: 14px; }
.insight-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 0 14px; }
.insight-hero__meta { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0; }
.insight-hero__meta .sep { margin: 0 8px; opacity: 0.6; }
.insight-hero__byline { color: rgba(255,255,255,0.8); font-size: 14px; margin: 6px 0 0; }

.insight-share { display: flex; align-items: center; gap: 10px; flex: none; }
.insight-share__label { color: var(--white); font-size: 14px; font-weight: 500; margin-right: 2px; }
.insight-share a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--white); color: var(--teal-dark); flex: none; }
.insight-share a svg { width: 16px; height: 16px; }
.insight-share a:hover { background: var(--orange-solid); color: var(--white); }

.insight-body-wrap { max-width: 780px; margin: 0 auto; padding: 40px 24px 80px; }
.insight-featured-image { margin-bottom: 32px; }
.insight-featured-image img { width: 100%; height: auto; display: block; }

.insight-intro-box { background: var(--surface); border-left: 3px solid var(--teal); padding: 22px 26px; margin-bottom: 32px; }
.insight-intro-box p { font-size: 15px; line-height: 1.7; color: #333; margin: 0 0 16px; }
.insight-intro-box .cta-btn { margin: 0; }

.insight-content { font-size: 16px; line-height: 1.75; color: #222; }
.insight-content > * + * { margin-top: 1.1em; }
.insight-content h2 { font-size: 22px; color: var(--teal-dark); margin-top: 2em; }
.insight-content h3 { font-size: 18px; color: var(--teal-dark); margin-top: 1.6em; }
.insight-content blockquote { border-left: 3px solid var(--teal); padding-left: 22px; margin: 1.4em 0; font-style: italic; color: #333; }
.insight-content ul, .insight-content ol { padding-left: 22px; }
.insight-content li { margin-bottom: 8px; }
.insight-content li ol, .insight-content ol.footnotes { font-size: 13px; color: #666; }
.insight-content a { color: var(--teal); text-decoration: underline; }
.insight-content iframe { max-width: 100%; }

.insight-cta-box { background: var(--white); border: 1px solid var(--border); box-shadow: 10px 10px 0 0 #eeeeec; padding: 32px 36px; margin-top: 48px; }
.insight-cta-box h3 { font-size: 20px; color: var(--teal-dark); margin: 0 0 10px; }
.insight-cta-box p { font-size: 15px; line-height: 1.6; color: #444; margin: 0 0 18px; }
.insight-cta-box--centered { text-align: center; }
.insight-cta-box--centered h3 { max-width: 560px; margin-left: auto; margin-right: auto; }
.insight-cta-box--centered p { max-width: 560px; margin-left: auto; margin-right: auto; }

@media (max-width: 640px) {
	.insight-hero__row { align-items: flex-start; }
	.insight-body-wrap { padding: 32px 20px 60px; }
	.insight-cta-box { padding: 24px 22px; }
}

.page-heading { padding: 56px clamp(24px, 6vw, 48px) 0; }
.page-heading h1 { font-size: 38px; }
.page-heading p, .page-heading .entry-content { font-size: 17px; line-height: 1.6; color: #333; max-width: 560px; margin: 0; }

.people-find { padding: 40px clamp(24px, 6vw, 48px) 0; }
.find-label { font-size: 15px; font-weight: 700; color: var(--teal-dark); margin-bottom: 14px; }
.find-row { display: flex; flex-wrap: wrap; gap: 14px; }

.search-field { position: relative; flex: 1 1 220px; max-width: 340px; }
.search-field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #999; pointer-events: none; }
.search-field input { width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--teal-dark); border: 1px solid #cfcfcc; background: var(--white); padding: 12px 14px 12px 38px; }
.search-field input::placeholder { color: #999; }

.search-submit { flex: none; background: var(--teal-dark); color: var(--white); font-family: var(--font-body); font-size: 15px; font-weight: 500; padding: 0 26px; border: none; cursor: pointer; }
.search-submit:hover { background: var(--teal); }

.filter-select {
	flex: 1 1 150px; max-width: 190px; font-family: var(--font-body); font-size: 15px; color: var(--teal-dark);
	background-color: var(--white); border: 1px solid #cfcfcc; padding: 12px 32px 12px 14px;
	appearance: none; -webkit-appearance: none; -moz-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2300313c' stroke-width='1.6'/></svg>");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 11px 7px;
}

.results-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px clamp(24px, 6vw, 48px) 20px; font-size: 14px; color: #666; }

.people-pagination { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.people-pagination a { color: #888; }
.people-pagination a.active { color: var(--orange-solid); font-weight: 700; }
.people-pagination a.next { color: var(--teal-dark); display: flex; }
.people-pagination a.next svg { width: 14px; height: 14px; }

.people-listing { padding: 0 clamp(24px, 6vw, 48px) 8px; }
.people-listing-grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 24px; column-gap: 24px; }

.people-card { background: var(--white); display: flex; flex-direction: column; border: 1px solid transparent; }

.people-card .photo-wrap { display: block; width: 100%; aspect-ratio: 1/1; background: var(--teal); overflow: hidden; }
.people-card .photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.people-card .card-body { padding: 16px 18px 0; flex: 1; display: flex; flex-direction: column; }
.people-card .p-name { font-size: 17px; font-weight: 500; color: var(--teal-dark); margin-bottom: 2px; }
.people-card .p-name a { color: inherit; }
.people-card .p-name a:hover { text-decoration: underline; }
.people-card .p-role { font-size: 14px; color: #777; margin-bottom: 16px; line-height: 1.4; }
.people-card .p-divider { border-top: 1px solid #e5e5e2; padding-top: 14px; margin-top: auto; }
.people-card .p-practice { font-size: 14px; color: #333; line-height: 1.5; margin-bottom: 10px; }
.people-card .p-location { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #333; }
.people-card .p-location svg { width: 14px; height: 14px; color: #777; flex: none; }

.people-card .card-actions { display: flex; border-top: 1px solid #e5e5e2; margin-top: 16px; }
.people-card .card-actions a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 14px; color: var(--teal-dark); padding: 12px 8px; }
.people-card .card-actions a:first-child { border-right: 1px solid #e5e5e2; }
.people-card .card-actions a svg { width: 14px; height: 14px; }
.people-card .card-actions a:hover { background: #f4f4f2; }

@media (max-width: 1100px) { .people-listing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
	.page-heading { padding: 40px 24px 0; }
	.page-heading h1 { font-size: 30px; }
	.people-find { padding: 28px 24px 0; }
	.results-bar { padding: 24px 24px 16px; }
	.people-listing { padding: 0 24px 8px; }
	.people-listing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------
   Sectors hub page
--------------------------------------------------------- */
.sectors-hero { background: var(--teal-dark); padding: 64px clamp(24px, 6vw, 48px) 80px; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.sectors-hero .hero-text { max-width: 620px; }
.sectors-hero h1 { color: var(--white); font-size: 40px; }
.sectors-hero p, .sectors-hero .entry-content { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.9); max-width: 620px; margin: 0; }
.sectors-hero .hero-badges { flex: none; display: flex; gap: 22px; padding-top: 8px; opacity: 0.9; }
.sectors-hero .hero-badges .badges-box { background: transparent; padding: 0; }
.sectors-hero .hero-badges .badge { width: 130px; }

.sectors-section { background: #f4f4f2; padding: 0 clamp(24px, 6vw, 48px) 72px; margin-top: -48px; }
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.expertise-grid-last { display: flex; justify-content: center; gap: 24px; margin-top: 24px; }
.expertise-grid-last .sector-card { width: calc((100% - 48px) / 3); max-width: 400px; }
.sector-card { background: var(--white); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 32px; }
.sector-card h3 { font-family: var(--font-body); font-weight: 500; font-size: 20px; color: var(--teal-dark); margin: 0 0 16px; }
.sector-card p { font-size: 15px; line-height: 1.7; color: #444; margin: 0 0 24px; flex: 1; }
.sector-card .learn-more-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-dark); color: var(--white); font-size: 15px; font-weight: 500; padding: 12px 20px; }
.sector-card .learn-more-btn svg { width: 11px; height: 11px; }
.sector-card .learn-more-btn:hover { background: var(--teal); text-decoration: none; }
.sector-card .learn-more-btn.is-disabled { cursor: default; opacity: 0.55; }
.sector-card .learn-more-btn.is-disabled:hover { background: var(--teal-dark); }

.sectors-cta { background: var(--teal-dark); padding: 96px 24px; text-align: center; }
.sectors-cta h2 { color: var(--white); font-size: 34px; line-height: 1.35; max-width: 760px; margin: 0 auto 36px; }
.sectors-cta .contact-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--teal-dark); font-size: 16px; padding: 14px 26px; }
.sectors-cta .contact-btn svg { width: 11px; height: 11px; }
.sectors-cta .contact-btn:hover { background: #f2f2f2; text-decoration: none; }

@media (max-width: 900px) {
	.sectors-hero { flex-direction: column; padding: 40px 24px 56px; }
	.sectors-hero .hero-badges { display: none; }
	.sectors-grid { grid-template-columns: 1fr; }
	.expertise-grid-last { flex-direction: column; align-items: stretch; }
	.expertise-grid-last .sector-card { width: auto; max-width: none; }
	.sectors-cta h2 { font-size: 26px; }
}

/* ---------------------------------------------------------
   About page
--------------------------------------------------------- */
.about-hero { background: var(--teal-dark); padding: 64px clamp(24px, 6vw, 48px) 80px; }
.about-hero h1 { color: var(--white); font-size: 40px; }
.about-hero p, .about-hero .entry-content { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.9); max-width: 620px; margin: 0; }

.about-intro { background: var(--white); padding: 64px clamp(24px, 6vw, 48px) 0; }
.about-intro h2 { font-size: 26px; }
.about-intro p { font-size: 16px; line-height: 1.7; color: #333; max-width: 780px; margin: 0 0 18px; }
.about-intro ul { font-size: 16px; line-height: 1.9; color: #333; max-width: 780px; margin: 0 0 18px; padding-left: 22px; }
.about-intro a { color: var(--orange-solid); text-decoration: underline; }

.about-cards { padding: 44px clamp(24px, 6vw, 48px) 0; background: var(--white); }
.about-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.about-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; margin-bottom: 20px; background: var(--surface); }
.about-card h3 { font-size: 21px; margin-bottom: 12px; }
.about-card p { font-size: 15px; line-height: 1.65; color: #444; margin: 0 0 18px; }
.about-card .explore-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-dark); color: var(--white); font-size: 14px; font-weight: 500; padding: 11px 18px; }
.about-card .explore-btn svg { width: 11px; height: 11px; }
.about-card .explore-btn:hover { background: var(--teal); text-decoration: none; }

.about-banner { padding: 56px clamp(24px, 6vw, 48px) 0; background: var(--white); }
.about-banner img { width: 100%; aspect-ratio: 21/9; object-fit: cover; display: block; }

.our-story { background: var(--white); padding: 64px clamp(24px, 6vw, 48px) 80px; text-align: center; }
.our-story h2 { font-size: 30px; margin-bottom: 44px; }
.story-row { display: flex; align-items: flex-start; justify-content: center; gap: 20px; max-width: 1100px; margin: 0 auto; }
.story-nav-btn { flex: none; width: 34px; height: 34px; background: var(--teal-dark); color: var(--white); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; margin-top: 8px; }
.story-nav-btn svg { width: 12px; height: 12px; }
.story-nav-btn:hover { background: var(--teal); }
.story-pages { flex: 1; min-width: 0; }
.story-items { display: none; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: left; }
.story-items.is-active { display: grid; }
.story-item .year { font-family: var(--font-heading); font-size: 20px; color: var(--teal-dark); margin-bottom: 12px; }
.story-item p { font-size: 15px; line-height: 1.65; color: #444; margin: 0 0 12px; }
.story-item a { color: var(--orange-solid); text-decoration: underline; }

.leadership { background: var(--white); padding: 0 clamp(24px, 6vw, 48px) 80px; text-align: center; }
.leadership h2 { font-size: 30px; margin-bottom: 44px; }
.leadership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; text-align: left; }
.leader-card img, .leader-card .leader-photo-placeholder { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; margin-bottom: 18px; background: var(--teal); }
.leader-card .leader-name { font-weight: 500; font-size: 17px; color: var(--teal-dark); margin-bottom: 2px; }
.leader-card .leader-title { font-size: 15px; color: #666; margin-bottom: 14px; }
.leader-card p { font-size: 15px; line-height: 1.6; color: #444; margin: 0 0 16px; }
.leader-card .contact-link-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-dark); color: var(--white); font-size: 14px; font-weight: 500; padding: 10px 18px; }
.leader-card .contact-link-btn svg { width: 11px; height: 11px; }
.leader-card .contact-link-btn:hover { background: var(--teal); text-decoration: none; }

@media (max-width: 900px) {
	.about-hero { padding: 40px 24px 56px; }
	.about-cards-grid { grid-template-columns: 1fr; }
	.story-row { flex-direction: column; align-items: stretch; }
	.story-items.is-active { grid-template-columns: 1fr; gap: 28px; }
	.story-nav-btn { display: none; }
	.leadership-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Careers page
--------------------------------------------------------- */
.careers-hero { background: var(--teal-dark); padding: 64px clamp(24px, 6vw, 48px) 90px; }
.careers-hero h1 { color: var(--white); font-size: 40px; }
.careers-hero p, .careers-hero .entry-content { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.9); max-width: 620px; margin: 0; }
.careers-hero p em { color: var(--orange-solid); font-style: italic; }

.careers-intro { background: #fafafa; padding: 56px clamp(24px, 6vw, 48px) 0; }
.careers-intro p { font-size: 16px; line-height: 1.7; color: #333; margin: 0; }

.careers-banner { padding: 44px clamp(24px, 6vw, 48px) 0; background: #fafafa; }
.careers-banner .banner-inner { position: relative; }
.careers-banner img { width: 100%; aspect-ratio: 21/9; object-fit: cover; display: block; background: var(--surface); }
.careers-banner .banner-caption { position: absolute; right: 36px; bottom: 30px; text-align: right; color: var(--white); }
.careers-banner .banner-caption .line1 { font-size: 20px; font-weight: 500; }
.careers-banner .banner-caption .line2 { font-size: 34px; font-weight: 700; }

.careers-develop { background: #fafafa; padding: 56px clamp(24px, 6vw, 48px) 0; }
.careers-develop h2 { font-size: 30px; margin-bottom: 20px; }
.careers-develop p { font-size: 16px; line-height: 1.7; color: #333; max-width: 900px; margin: 0 0 18px; }

.careers-cards { background: #fafafa; padding: 40px clamp(24px, 6vw, 48px) 72px; }
.careers-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.careers-card { background: var(--white); padding: 32px 30px; display: flex; flex-direction: column; }
.careers-card h3 { font-size: 21px; margin-bottom: 14px; }
.careers-card p { font-size: 15px; line-height: 1.65; color: #444; margin: 0 0 20px; flex: 1; }
.careers-card .explore-btn { display: inline-flex; align-self: flex-start; align-items: center; background: var(--teal-dark); color: var(--white); font-size: 14px; font-weight: 500; padding: 11px 18px; margin-top: auto; }
.careers-card .explore-btn svg { display: none; }
.careers-card .explore-btn:hover { background: var(--teal); text-decoration: none; }

.careers-cta { background: var(--teal-dark); padding: 96px 24px 120px; text-align: center; }
.careers-cta h2 { color: var(--white); font-size: 36px; margin-bottom: 18px; }
.careers-cta .subtitle { font-size: 17px; color: rgba(255,255,255,0.9); margin-bottom: 30px; }
.careers-cta .vacancies-btn { display: inline-flex; align-items: center; background: var(--white); color: var(--teal-dark); font-size: 15px; padding: 14px 24px; }
.careers-cta .vacancies-btn:hover { background: #f2f2f2; text-decoration: none; }

@media (max-width: 900px) {
	.careers-hero { padding: 40px 24px 56px; }
	.careers-intro p { max-width: none; }
	.careers-banner .banner-caption { position: static; text-align: left; margin-top: 12px; }
	.careers-cards-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Contact page
--------------------------------------------------------- */
.contact-page-body { background: #fafafa; padding: 48px clamp(24px, 6vw, 48px) 88px; }
.contact-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-columns h1 { font-size: 34px; margin-bottom: 30px; }
.contact-form-col p { margin: 0 0 20px; }

.contact-field { margin-bottom: 22px; }
.contact-field label { display: block; font-size: 15px; color: var(--teal-dark); margin-bottom: 8px; }
.contact-field label .req { color: var(--orange-solid); }
.contact-field input, .contact-field textarea { width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--teal-dark); border: 1px solid #cfcfcc; background: var(--white); padding: 12px 14px; }
.contact-field textarea { min-height: 130px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #999; }

.contact-submit { display: inline-flex; align-items: center; background: var(--teal-dark); color: var(--white); font-size: 15px; font-weight: 500; padding: 13px 26px; border: none; cursor: pointer; }
.contact-submit:hover { background: var(--teal); }

.contact-side h2 { font-size: 24px; margin-bottom: 18px; }
.contact-side h2 + hr { border: none; border-top: 1px solid #ddd; margin: 0 0 24px; }

.location-card { background: var(--white); border: 1px solid #e5e5e2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; margin-bottom: 16px; }
.location-card .loc-name { font-weight: 500; font-size: 17px; color: var(--teal-dark); margin-bottom: 8px; }
.location-card .loc-phone { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--teal-dark); }
.location-card .loc-phone svg { width: 14px; height: 14px; }
.location-card .loc-address { font-size: 14px; color: var(--teal-dark); line-height: 1.5; flex: 1; }
.location-card .loc-arrow { flex: none; color: var(--teal-dark); }
.location-card .loc-arrow svg { width: 14px; height: 14px; }

.contact-side .subheading { font-weight: 500; font-size: 16px; color: var(--teal-dark); margin: 24px 0 14px; }
.contact-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.contact-row .contact-person { flex: none; width: 190px; }
.contact-row .contact-person .p-name { font-weight: 500; font-size: 15px; color: var(--teal-dark); }
.contact-row .contact-person .p-title { font-size: 13px; color: #777; line-height: 1.4; }
.contact-row .contact-details { display: flex; flex-direction: column; gap: 6px; }
.contact-row .contact-details a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--teal-dark); }
.contact-row .contact-details svg { width: 14px; height: 14px; flex: none; }

.connect-row { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.connect-row .subheading { margin: 0; }
.connect-row .social-icons a { color: var(--teal-dark); }
.connect-row .social-icons svg { width: 17px; height: 17px; }

@media (max-width: 900px) {
	.contact-columns { grid-template-columns: 1fr; gap: 48px; }
	.contact-row { flex-direction: column; gap: 6px; }
	.contact-row .contact-person { width: auto; }
}

/* ---------------------------------------------------------
   Expertise Area detail page
--------------------------------------------------------- */
.expertise-area-hero { background: var(--teal-dark); padding: 56px clamp(24px, 6vw, 48px); }
.expertise-area-hero h1 { color: var(--white); font-size: 34px; margin-bottom: 18px; }
.expertise-area-hero .entry-content { max-width: 720px; color: rgba(255,255,255,0.9); font-family: var(--font-body); font-size: 17px; line-height: 1.65; }
.expertise-area-hero .entry-content > * + * { margin-top: 1em; }

.expertise-area-body { background: var(--white); padding: 56px clamp(24px, 6vw, 48px); }
.expertise-area-body h2 { font-size: 24px; margin-bottom: 24px; }
.expertise-area-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.expertise-area-columns .col h3 { font-size: 17px; color: var(--teal-dark); margin: 28px 0 10px; }
.expertise-area-columns .col:first-child h3:first-child { margin-top: 0; }
.expertise-area-columns .col p { font-size: 15px; line-height: 1.7; color: #333; margin: 0 0 16px; }
.expertise-area-columns .col ul { font-size: 15px; line-height: 1.7; color: #333; margin: 0 0 16px; padding-left: 20px; }
.expertise-area-columns .col ul li { margin-bottom: 4px; }


.expertise-area-quote { background: #f4f4f2; padding: 64px clamp(24px, 6vw, 48px) 88px; }
.quote-card { max-width: 900px; margin: 0 auto; background: var(--teal); display: flex; align-items: stretch; box-shadow: 18px 18px 0 0 #c9c9c6; }
.quote-card .quote-photo { flex: none; width: 30%; aspect-ratio: 2 / 3; align-self: flex-start; overflow: hidden; }
.quote-card .quote-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.quote-card .quote-body { flex: 1; padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; }
.quote-card blockquote { font-family: var(--font-body); font-weight: 700; color: var(--white); font-size: 16px; line-height: 1.6; margin: 0; padding-left: 20px; border-left: 3px solid var(--orange-solid); }
.quote-card cite { font-style: normal; display: block; margin-top: 20px; padding-left: 23px; }
.quote-card .cite-name { display: block; font-weight: 700; color: var(--white); font-size: 15px; }
.quote-card .cite-name::after { content: ","; }
.quote-card .cite-role { display: block; color: rgba(255,255,255,0.75); font-size: 14px; }
.quote-card .quote-contact-btn { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 340px; margin-top: 20px; background: var(--orange-solid); color: var(--white); font-size: 14px; font-weight: 500; padding: 12px 18px; }
.quote-card .quote-contact-btn:hover { background: #e0701f; text-decoration: none; }

.expertise-area-cta { background: var(--teal-dark); padding: 72px 24px; text-align: center; }
.expertise-area-cta h2 { color: var(--white); font-size: 26px; max-width: 700px; margin: 0 auto 28px; }
.expertise-area-cta .contact-btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--white); color: var(--teal-dark); font-size: 15px; font-weight: 500; padding: 13px 24px; }
.expertise-area-cta .contact-btn:hover { background: #f2f2f2; text-decoration: none; }

@media (max-width: 900px) {
	.expertise-area-hero, .expertise-area-body { padding-left: 24px; padding-right: 24px; }
	.expertise-area-columns { grid-template-columns: 1fr; }
	.quote-card { flex-direction: column; }
	.quote-card .quote-photo { width: 100%; aspect-ratio: 16/9; }
}

/* Expertise Area: optional interactive "journey" tabs section */
.expertise-area-journey { background: var(--surface); padding: 56px clamp(24px, 6vw, 48px); }
.expertise-area-journey h2 { font-size: 24px; max-width: 780px; margin-bottom: 40px; }
.journey-row { display: grid; grid-template-columns: minmax(200px, 260px) 1fr; align-items: start; gap: 40px; }

.journey-tabs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.journey-tabs li { border-left: 2px solid var(--border); }
.journey-tabs li.is-active { border-left-color: var(--teal-dark); }
.journey-tabs button { display: block; width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 12px 18px; font-family: var(--font-body); font-size: 15px; color: #666; }
.journey-tabs li.is-active button { color: var(--teal-dark); font-weight: 700; }

.journey-panel { display: none; }
.journey-panel.is-active { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.journey-icon { flex: none; width: clamp(160px, 22vw, 260px); aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; background: var(--teal); box-shadow: 0 20px 40px -18px rgba(0,0,0,0.3); }
.journey-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.journey-text { flex: 1; min-width: 260px; }
.journey-text p { font-size: 15px; line-height: 1.7; color: #333; margin: 0 0 16px; }
.journey-help-heading { font-weight: 700; font-size: 15px; color: var(--teal-dark); margin: 0 0 10px; }
.journey-text ul { margin: 0; padding-left: 20px; }
.journey-text ul li { font-size: 15px; color: #333; line-height: 1.6; margin-bottom: 6px; }

@media (max-width: 900px) {
	.journey-row { grid-template-columns: 1fr; }
	.journey-tabs { flex-direction: row; flex-wrap: wrap; gap: 6px; }
	.journey-tabs li { border-left: none; border-bottom: 2px solid var(--border); }
	.journey-tabs li.is-active { border-bottom-color: var(--teal-dark); }
	.journey-panel.is-active { flex-direction: column; align-items: flex-start; gap: 24px; }
	.journey-icon { width: 160px; }
}

/* Expertise Area: optional "What we achieve for our X clients" section */
.expertise-area-achieve { background: var(--white); padding: 56px clamp(24px, 6vw, 48px); text-align: center; }
.expertise-area-achieve h2 { font-size: 22px; color: var(--teal-dark); max-width: 720px; margin: 0 auto 10px; }
.expertise-area-achieve .achieve-intro { font-size: 15px; color: #555; margin: 0 auto 28px; }

.achieve-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; text-align: left; }
.achieve-tile { display: block; background: var(--teal-dark); color: var(--white); border: none; cursor: pointer; padding: 22px 22px; text-align: left; font-family: var(--font-body); }
.achieve-tile-label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.achieve-tile-desc { display: block; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.8); }
.achieve-tile.is-active { background: var(--orange-solid); }
.achieve-tile.is-active .achieve-tile-desc { color: rgba(255,255,255,0.92); }

.achieve-show-all { margin: 18px 0 0; }
.achieve-show-all button { background: none; border: none; cursor: pointer; color: var(--orange-solid); font-family: var(--font-body); font-size: 14px; font-weight: 500; padding: 0; }
.achieve-show-all button:hover { text-decoration: underline; }

.achieve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 980px; margin: 32px auto 0; text-align: left; }
.achieve-card { border: 1px solid var(--border); padding: 20px; display: flex; flex-direction: column; }
.achieve-card h3 { font-size: 15px; color: var(--teal-dark); margin: 0 0 8px; }
.achieve-card p { font-size: 13px; line-height: 1.6; color: #555; margin: 0 0 16px; flex: 1; }
.achieve-card-btn { align-self: flex-start; background: var(--teal-dark); color: var(--white); font-size: 13px; font-weight: 500; padding: 9px 16px; }
.achieve-card-btn:hover { background: var(--teal); text-decoration: none; }

.achieve-fallback { margin: 32px 0 0; font-size: 14px; color: #555; line-height: 2; }
.achieve-fallback .cta-btn { display: inline-flex; margin-top: 6px; }

@media (max-width: 900px) {
	.expertise-area-achieve { padding-left: 24px; padding-right: 24px; }
	.achieve-tiles { grid-template-columns: 1fr; }
	.achieve-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.achieve-grid { grid-template-columns: 1fr; }
}
