/* =========================================================
   Akinwale & Co — Design System
   Tokens pulled directly from the Figma file (node 0:1).
   ========================================================= */

:root {
	--color-navy: #0a192f;
	--color-navy-tint: rgba(10, 25, 47, 0.08);
	--color-gold: #c5a059;
	--color-white: #ffffff;
	--color-offwhite: #f8fafc;
	--color-lightgray: #f0f0f0;
	--color-text: rgba(0, 0, 0, 0.8);
	--color-text-on-dark: rgba(255, 255, 255, 0.72);

	--font-heading: 'Cormorant Garamond', Georgia, serif;
	/* Swap 'Inter' for 'Haas Grot Text Trial' if you own a license for it. */
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--container-max: 1360px;
	--container-narrow: 780px;
	--radius: 2px;
	--transition: 200ms ease;
}

/* ---------- Reset-lite ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--color-offwhite);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
hr { border: none; border-top: 1px solid rgba(0,0,0,0.08); }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 9999;
	background: var(--color-navy); color: var(--color-white);
	padding: 12px 20px; width: auto; height: auto; clip: auto;
}

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: var(--container-narrow); }
@media (max-width: 782px) { .container { padding: 0 20px; } }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .section-heading, .page-header__title {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 24px;
	color: rgba(0,0,0,0.8);
}
h1, .page-header__title { font-size: 48px; }
h2, .section-heading { font-size: 40px; }
h3 { font-size: 24px; }
em, i.gold, .accent { font-style: italic; color: var(--color-gold); font-family: var(--font-heading); }
p { margin: 0 0 16px; }
.eyebrow {
	font-size: 12px; letter-spacing: 1.92px; text-transform: uppercase;
	color: var(--color-gold); font-weight: 500;
}

.page-content { padding: 40px; max-width: var(--container-max); margin: 0 auto; }
.page-content > *:first-child { margin-top: 0; }
.page-header { padding: 160px 40px 0; max-width: var(--container-max); margin: 0 auto; }
.page-header--center { text-align: center; }
@media (max-width: 782px) { .page-header, .page-content { padding: 100px 20px 0; } }

/* ---------- Buttons ---------- */
.button-group { display: flex; gap: 24px; flex-wrap: wrap; }
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 16px 24px; font-size: 16px; letter-spacing: 0.32px;
	border: 0.6px solid transparent; border-radius: var(--radius);
	cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition);
	font-family: var(--font-body);
}
.btn--light { background: var(--color-white); color: var(--color-navy); }
.btn--light:hover { background: var(--color-gold); color: var(--color-white); }
.btn--outline-light { border-color: var(--color-white); color: var(--color-white); }
.btn--outline-light:hover { background: var(--color-white); color: var(--color-navy); }
.btn--dark { background: var(--color-navy); color: var(--color-white); }
.btn--dark:hover { background: var(--color-gold); }
.btn--outline-dark { border-color: var(--color-navy); color: var(--color-navy); }
.btn--outline-dark:hover { background: var(--color-navy); color: var(--color-white); }

/* ---------- Header ---------- */
.site-header {
	position: absolute; top: 0; left: 0; right: 0; z-index: 40;
	padding: 53px 41px 0;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1440px; margin: 0 auto; }

.brand { display: flex; align-items: center; gap: 16px; }
.brand__logo { width: 60px; height: 60px; color: var(--color-white); display: flex; }
.brand--dark .brand__logo { color: var(--color-navy); }
.brand__divider { width: 1px; height: 48px; background: currentColor; opacity: 0.4; }
.brand__wordmark { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--color-white); }
.brand--dark .brand__wordmark { color: var(--color-navy); }
.brand__name { font-family: var(--font-heading); font-weight: 600; font-size: 28px; letter-spacing: 1.12px; white-space: nowrap; }
.brand__tagline { font-size: 12px; letter-spacing: 1.92px; color: var(--color-gold); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.brand__tagline i { width: 18px; height: 1px; background: var(--color-gold); display: inline-block; }

.primary-nav__list, .footer-nav__list { display: flex; gap: 28px; align-items: center; }
.primary-nav__list a { font-size: 16px; letter-spacing: 0.64px; color: var(--color-white); transition: color var(--transition); }
.primary-nav__list a:hover,
.primary-nav__list .current-menu-item > a { color: var(--color-gold); }
.footer-nav__list a { font-size: 16px; letter-spacing: 0.64px; color: var(--color-text); }
.footer-nav__list a:hover { color: var(--color-gold); }

.menu-toggle {
	display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.menu-toggle__bar { width: 24px; height: 2px; background: var(--color-white); }

@media (max-width: 900px) {
	.site-header { padding: 24px 20px 0; }
	.brand__tagline { display: none; }
	.menu-toggle { display: flex; }
	.primary-nav {
		position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); height: 100vh;
		background: var(--color-navy); padding: 100px 32px; transform: translateX(100%);
		transition: transform var(--transition); z-index: 50;
	}
	.primary-nav.is-open { transform: translateX(0); }
	.primary-nav__list { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ---------- Hero (first section of Home/About page_content) ---------- */
.hero {
	position: relative; min-height: 920px; display: flex; align-items: flex-end;
	background: var(--color-navy) center/cover no-repeat;
	color: var(--color-white); overflow: hidden;
}
.hero::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(10,25,47,0.55), rgba(10,25,47,0.15));
	z-index: 1;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__content {
	position: relative; z-index: 2; max-width: 893px;
	padding: 0 41px 160px; display: flex; flex-direction: column; gap: 48px;
}
.hero__heading { font-size: 56px; margin: 0; }
.hero__subhead { font-size: 16px; letter-spacing: 0.64px; color: var(--color-text-on-dark); max-width: 660px; }
.hero--short { min-height: 540px; align-items: center; padding-top: 100px; }
.hero--short .hero__content { padding-bottom: 0; }

@media (max-width: 900px) {
	.hero { min-height: 700px; }
	.hero__heading { font-size: 36px; }
	.hero__content { padding: 0 20px 60px; gap: 24px; }
}

/* ---------- Split / intro sections ("At the Forefront...", "Who We Are") ---------- */
.split {
	display: flex; align-items: center; gap: 40px; max-width: var(--container-max);
	margin: 0 auto; padding: 80px 40px;
}
.split.reverse { flex-direction: row-reverse; }
.split__media { flex: 0 0 50%; aspect-ratio: 1/1; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.split__body p { font-size: 18px; line-height: 32px; letter-spacing: 0.72px; }
.split--tinted { background: var(--color-navy-tint); }

@media (max-width: 900px) {
	.split, .split.reverse { flex-direction: column; padding: 40px 20px; }
	.split__media { flex-basis: auto; width: 100%; }
}

/* ---------- Practice Area / card grid ---------- */
.practice-grid { display: flex; gap: 40px; padding: 60px 0; }
.practice-card { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.practice-card.align-end { align-items: flex-end; text-align: right; }
.practice-card__media, .practice-card__media--placeholder { aspect-ratio: 1/1; width: 100%; overflow: hidden; background: var(--color-lightgray); }
.practice-card__media img { width: 100%; height: 100%; object-fit: cover; }
.practice-card__title { font-family: var(--font-body); font-weight: 600; font-size: 18px; letter-spacing: 0.36px; margin: 0; color: #000; }
.practice-card__title a { color: inherit; }
.practice-card__summary { font-size: 16px; line-height: 24px; letter-spacing: 0.64px; margin: 0; }

@media (max-width: 900px) {
	.practice-grid { flex-direction: column; }
	.practice-card.align-end { align-items: flex-start; text-align: left; }
}

/* ---------- Core Values (3-up icon grid) ---------- */
.values-grid { display: flex; padding: 40px; max-width: var(--container-max); margin: 0 auto; }
.values-grid__item { flex: 1; text-align: center; padding: 40px 20px; border-left: 1px solid rgba(0,0,0,0.1); }
.values-grid__item:first-child { border-left: 0; }
.values-grid__icon { width: 120px; height: 120px; margin: 0 auto 12px; }
.values-grid__title { font-weight: 600; font-size: 18px; letter-spacing: 0.36px; margin: 0 0 12px; }
.values-grid__desc { font-size: 16px; line-height: 24px; letter-spacing: 0.64px; }

@media (max-width: 900px) {
	.values-grid { flex-direction: column; padding: 20px; }
	.values-grid__item { border-left: 0; border-top: 1px solid rgba(0,0,0,0.1); }
	.values-grid__item:first-child { border-top: 0; }
}

/* ---------- CTA / footer band ---------- */
.site-footer { background: var(--color-lightgray); }
.cta-band { padding: 40px; }
.cta-band__inner { max-width: var(--container-max); margin: 0 auto; display: flex; flex-direction: column; gap: 60px; }
.cta-band__rule { margin: 0; }
.cta-band__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; }
.cta-band__heading { font-size: 48px; max-width: 760px; }
.cta-band__seal { flex-shrink: 0; transform: rotate(9deg); }
.cta-band__meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.contact-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-strip__item { display: flex; align-items: center; gap: 8px; font-size: 16px; letter-spacing: 0.64px; }
.contact-strip__item:not(:last-child)::after { content: ''; width: 1px; height: 20px; background: rgba(0,0,0,0.15); margin-left: 12px; }
.copyright { font-size: 13px; opacity: 0.6; margin: 0; }

@media (max-width: 900px) {
	.cta-band { padding: 24px 20px; }
	.cta-band__heading { font-size: 32px; }
	.cta-band__row { flex-direction: column; align-items: flex-start; }
	.cta-band__seal { align-self: center; }
	.cta-band__meta { flex-direction: column; align-items: flex-start; }
	.contact-strip { flex-direction: column; align-items: flex-start; }
	.contact-strip__item:not(:last-child)::after { display: none; }
}

/* ---------- Blog / post grid ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 60px 0; }
.post-card__media, .post-card__media--placeholder { aspect-ratio: 1/1; background: var(--color-lightgray); overflow: hidden; margin-bottom: 16px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__meta { font-size: 13px; opacity: 0.6; margin-bottom: 8px; }
.post-card__title { font-size: 18px; margin: 0 0 8px; font-family: var(--font-body); font-weight: 600; }
.post-card__excerpt { font-size: 15px; line-height: 1.6; }
.pagination { padding: 0 0 60px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Elementor / editor niceties ---------- */
.site-main--fullwidth .page-content,
body.elementor-page .page-content { padding: 0; max-width: none; }
body.elementor-page .page-header { display: none; }
.akinwale-elementor-editing .site-header,
.akinwale-elementor-editing .site-footer { opacity: 0.4; }

/* Contact Form 7 quick theming, since it's the recommended contact plugin */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	width: 100%; padding: 14px 16px; border: 1px solid rgba(0,0,0,0.15);
	border-radius: var(--radius); font-family: var(--font-body); font-size: 16px; margin-bottom: 16px;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: 2px solid var(--color-gold); border-color: var(--color-gold); }
.wpcf7-form input[type="submit"] {
	background: var(--color-navy); color: #fff; border: 0; padding: 16px 24px;
	font-size: 16px; letter-spacing: 0.32px; cursor: pointer; border-radius: var(--radius);
}
.wpcf7-form input[type="submit"]:hover { background: var(--color-gold); }
