:root {
	--navy: #17395f;
	--green: #78b94b;
	--text: #1d2935;
	--muted: #66727f;
	--line: #dfe5ea;
	--soft: #f6f8fa;
	--white: #ffffff;
}
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	font-family: "Roboto", sans-serif;
	color: var(--text);
	background: #fff;
}


body.panel-open {
	overflow: hidden;
}
.container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 28px;
}
/* -----------------------------------
   HEADER
----------------------------------- */
header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}

nav {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 15px;
	font-weight: 700;
}
nav a {
	color: var(--navy);
	text-decoration: none;
}
nav a.active {
	color: var(--green);
}
/* -----------------------------------
   BUTTONS
----------------------------------- */
.btn {
	display: inline-block;
	background: var(--green);
	color: white;
	text-decoration: none;
	padding: 13px 20px;
	border-radius: 7px;
	font-weight: 800;
	border: 0;
	cursor: pointer;
	font-size: 15px;
}
.btn-outline {
	display: inline-block;
	border: 1px solid var(--line);
	color: var(--navy);
	background: white;
	text-decoration: none;
	padding: 13px 20px;
	border-radius: 7px;
	font-weight: 800;
	cursor: pointer;
}

/* -----------------------------------
   HERO
----------------------------------- */
.hero {
	display: grid;
	grid-template-columns: 1.35fr .85fr;
	gap: 40px;
	align-items: center;
	padding: 42px 0 76px;
	background:url(/images/hero.jpg) no-repeat right center;
}
.eyebrow {
	font-size: 13px;
	letter-spacing: 2.5px;
	color: var(--green);
	font-weight: 800;
}
h1 {
	font-size: 58px;
	line-height: 1.02;
	color: var(--navy);
	margin: 14px 0 20px;
	letter-spacing: -2px;
}
h1 span {
	color: var(--green);
	display:block;
}
.lead {
	font-size: 18px;
	line-height: 1.6;
	color: var(--muted);
	max-width: 650px;
}
.hero-actions {
	display: flex;
	gap: 12px;
	margin-top: 30px;
	flex-wrap: wrap;
}

/* Large hexagon graphic */
.big-logo {
	position: relative;
	width: 270px;
	height: 210px;
	margin: auto;
}
.big-logo .hex {
	width: 120px;
	height: 104px;
}
.big-logo .hex:after {
	inset: 12px;
}
.big-logo .hex-left {
	left: 0;
	top: 80px;
}
.big-logo .hex-right {
	left: 120px;
	top: 80px;
}
.big-logo .hex-top {
	left: 60px;
	top: 0;
}

/* -----------------------------------
   GENERAL SECTIONS
----------------------------------- */
section {
	padding: 36px 0;
}
h2 {
	font-size: 38px;
	line-height: 1.1;
	color: var(--navy);
	margin: 8px 0 0;
	letter-spacing: -1px;
}
.section-head {
	max-width: 760px;
	margin-bottom: 34px;
}
.section-head p {
	color: var(--muted);
	font-size: 16px;
	line-height: 1.6;
}

/* -----------------------------------
   ABOUT
----------------------------------- */
.about {
	background: var(--navy);
	color: white;
	border-radius: 14px;
	padding: 54px 58px;
	display: grid;
	grid-template-columns: .7fr 1.3fr;
	gap: 60px;
}
.about .eyebrow {
	color: #a7d786;
}
.about h2 {
	color: white;
}
.about p {
	font-size: 17px;
	line-height: 1.65;
	margin: 0 0 14px;
	color: #edf2f6;
}

/* -----------------------------------
   EXPERTISE
----------------------------------- */
.expert-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}
.expert-card {
	cursor:pointer;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 20px;
	background: white;
	display: flex;
	flex-direction: column;
	min-height: 205px;
	transition: .18s ease;
}
.expert-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(23,57,95,.08);
	border-color: #cbd5dd;
}
.mini-hex {
	background-image:url(../images/hexagon.png);
	background-size: 75%;
	background-repeat: no-repeat;
	margin-bottom: 8px;
	width:36px; height:42px;

}
.expert-card h3 {
	color: var(--navy);
	font-size: 16px;
	margin: 0 0 10px;
}
.expert-card p {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.48;
	margin: 0;
}

.expert-card .insight-link {
	margin-top: auto;
	padding-top: 12px;

	background: none;
	border: 0;
	color: var(--navy);
	font-weight: 800;
	text-align: left;
	cursor: pointer;
	font-size: 13px;
}
.learn-more span {
	color: var(--navy);
	font-size: 15px;
	margin-left: 4px;
}

.expert-card:nth-child(even) {
	background-color: #f7f8f9;
}
.expert-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.expert-card {
	flex: 0 0 calc((100% - 56px) / 5);
}

/* -----------------------------------
   STATEMENT
----------------------------------- */
.statement {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	text-align: center;
	padding: 52px 20px;
}
.statement h2 {
	font-size: 31px;
}
.statement p {
	max-width: 700px;
	margin: 12px auto 0;
	color: var(--muted);
	line-height: 1.6;
}

/* -----------------------------------
   HOW CAN WE HELP
----------------------------------- */
.help {
	background: var(--soft);
	border-radius: 14px;
	padding: 52px;
}
.help .section-head {
	text-align: center;
	margin: 0 auto 34px;
}
.scenario-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 13px;
	margin-bottom: 28px;
}
.scenario {
	border: 1px solid var(--line);
	background: white;
	border-radius: 10px;
	padding: 15px;
	text-align: left;
	cursor: pointer;
	min-height: 108px;
}
.scenario strong {
	display: block;
	color: var(--navy);
	font-size: 13px;
	margin-top: 10px;
}
.scenario.active {
	border: 2px solid var(--green);
	background: #f7fbf3;
}

/* -----------------------------------
   CONTACT FORM
----------------------------------- */
.form-box {
	background: white;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 28px;
}
.form-box h3 {
	margin: 0;
	color: var(--navy);
	font-size: 22px;
}
.form-hint {
	color: var(--muted);
	font-size: 14px;
	margin-top: 7px;
}
.expertise-checks {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 9px;
	margin: 20px 0 28px;
}
.expertise-check {
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 12px;
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 8px;
	background: white;
}
.expertise-check.selected {
	border-color: var(--green);
	background: #f7fbf3;
}
.expertise-check input {
	width: auto;
	margin: 0;
}
.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.form-grid label {
	font-size: 13px;
	font-weight: 700;
	color: var(--navy);
}
.form-grid input,
.form-grid textarea {
	width: 100%;
	margin-top: 7px;
	border: 1px solid var(--line);
	border-radius: 7px;
	padding: 12px;
	font: inherit;
	background: white;
}
.form-grid textarea {
	min-height: 115px;
	resize: vertical;
}
.full {
	grid-column: 1 / -1;
}

/* -----------------------------------
   EXPERTISE DRAWER
----------------------------------- */
.overlay {
	position: fixed;
	inset: 0;
	background: rgba(12,28,44,.48);
	opacity: 0;
	visibility: hidden;
	transition: .22s;
	z-index: 50;
}
.overlay.open {
	opacity: 1;
	visibility: visible;
}
.drawer {
	position: fixed;
	right: 0;
	top: 0;
	height: 100vh;
	width: min(540px, 92vw);
	background: white;
	box-shadow: -18px 0 45px rgba(0,0,0,.18);
	transform: translateX(105%);
	transition: transform .28s ease;
	overflow-y: auto;
	z-index: 60;
}

.drawer-headerContainer {display:flex; align-items: end; justify-content: space-between; padding-top:30px;}
.drawer-header {}
.drawer-icon {margin-right:auto;}

.drawer-headshot {
  float: right;
  width: 175px;
  margin: 0 0 10px 15px;
	border:1px solid #333;
}

.drawer.open {
	transform: translateX(0);
}
.drawer-inner {
	padding: 42px 42px 52px;
}
.close-drawer {
	position:absolute;
	right:30px;
	border: 0;
	background: var(--soft);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	font-size: 23px;
	cursor: pointer;
	color: var(--navy);
}
.drawer-icon {
	font-size: 34px;
	color: var(--green);
	margin: 45px 0 8px;
}
.drawer-label {
	font-size: 12px;
	letter-spacing: 1.5px;
	color: var(--green);
	font-weight: 800;
	margin-bottom: 12px;
}
.drawer h2 {
	font-size: 34px;
	margin: 0 0 28px;
}
.drawer-copy p {
	font-size: 16px;
	line-height: 1.7;
	color: #465463;
	margin: 0 0 18px;
}
.relevant {
	margin: 30px 0;
	padding: 20px;
	background: var(--soft);
	border-radius: 10px;
}
.relevant strong {
	color: var(--navy);
	display: block;
	margin-bottom: 9px;
}
.relevant span {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.6;
}
.drawer-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}


/* -----------------------------------
   INSIGHT ARTICLE
----------------------------------- */
.insight-page {
	padding: 60px 28px 90px;
}
.insight-article {
	max-width: 850px;
	margin: 0 auto;
}

/* Back link */
.insight-back {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	color: var(--navy);
	text-decoration: none;
	margin-bottom: 42px;
}
.insight-back:hover {
	color: var(--green);
}

/* -----------------------------------
   ARTICLE HEADER
----------------------------------- */
.insight-header {
	margin-bottom: 45px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--line);
}

.insight-header .eyebrow {
	margin-bottom: 16px;
}

.insight-header h1 {
	font-size: 50px;
	line-height: 1.08;
	letter-spacing: -1.5px;
	color: var(--navy);

	max-width: 760px;
	margin: 0 0 20px;
}

.insight-intro {
	font-size: 19px;
	line-height: 1.6;
	color: var(--muted);

	max-width: 650px;
	margin: 0 0 18px;
}

.insight-meta {
	font-size: 12px;
	color: var(--muted);
}


/* -----------------------------------
   ARTICLE CONTENT
----------------------------------- */
.insight-body {
	max-width: 730px;
}
.insight-body p {
	font-size: 17px;
	line-height: 1.8;
	color: #465463;
	margin: 0 0 25px;
}
.insight-body h2 {
	font-size: 27px;
	line-height: 1.25;
	color: var(--navy);
	margin: 42px 0 18px;
}

/* -----------------------------------
   CTA
----------------------------------- */
.insight-cta {
	margin-top: 55px;
	padding: 34px 38px;
	background: var(--navy);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 35px;
}
.insight-cta .eyebrow {
	color: #9bd373;
}
.insight-cta h2 {
	color: white;
	font-size: 25px;
	line-height: 1.25;
	margin: 7px 0 8px;
}
.insight-cta p {
	color: #dce5ed;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}


.scenario-panel {
	background: #f7f9fb;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 24px 28px;
	margin-bottom: 28px;
}

.scenario-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.scenario-panel-header h3 {
	font-size: 19px;
	color: var(--navy);
	margin: 0 0 6px;
}

.scenario-panel-header p {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.5;
	margin: 0;
}

.scenario-toggle {
	flex-shrink: 0;
	background: white;
	border: 1px solid var(--line);
	border-radius: 7px;
	padding: 13px 18px;
	color: var(--navy);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.scenario-toggle:hover {
	border-color: var(--green);
}

.scenario-toggle span {
	margin-left: 8px;
	color: var(--green);
}

.scenario-toggle[aria-expanded="true"] span {
	display: inline-block;
	transform: rotate(180deg);
}


.scenario svg {
    width: 28px;
    height: 28px;
    color: var(--green);
    stroke-width: 1.8;
    margin-bottom: 10px;
}

.scenario:hover svg,
.scenario.active svg {
    color: var(--navy);
}


/* Expanded scenario grid */

#scenario-content {
	margin-top: 24px;
}

#scenario-content[hidden] {
	display: none;
}

/* -----------------------------------
   RELATED EXPERTISE
----------------------------------- */
.related-expertise {
	margin-top: 45px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}
.related-expertise-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}
.related-expertise-list a {
	display: inline-block;
	padding: 9px 14px;
	border: 1px solid var(--line);
	border-radius: 6px;
	color: var(--navy);
	background: #fff;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: .15s ease;
}
.related-expertise-list a:hover {
	border-color: var(--green);
	background: #f7fbf3;
}

/* -----------------------------------
   FOOTER
----------------------------------- */
footer {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	border-top: 1px solid var(--line);
	padding: 28px 0;
	color: var(--muted);
	font-size: 12px;
}

#apa-contact-form button[type="submit"]:disabled {
    background: #999 !important;
    border-color: #999 !important;
    color: #fff !important;
    cursor: wait;
    opacity: 0.7;
    box-shadow: none;
}

#apa-contact-form button[type="submit"]:disabled::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 10px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: apa-spin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes apa-spin {
    to { transform: rotate(360deg); }
}

.form-success {
    background: #edf7e8;
    border: 1px solid #77b846;
    color: #234d22;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.apa-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* -----------------------------------
   RESPONSIVE
----------------------------------- */
@media (max-width: 900px) {
	.hero {
		grid-template-columns: 1fr;
		padding: 54px 0;
	}
	.big-logo {
		display: none;
	}
	h1 {
		font-size: 45px;
	}
	.about {
		grid-template-columns: 1fr;
	}
	.expert-grid {
		grid-template-columns: repeat(2,1fr);
	}
	.scenario-grid {
		grid-template-columns: repeat(2,1fr);
	}
	.expertise-checks {
		grid-template-columns: repeat(2,1fr);
	}
}
@media (max-width: 620px) {
	.container {
		padding: 0 18px;
	}
	.hero {background:none;}
	.logo img {width:150px;}
	.btn {font-size:13px;}
	nav a:not(.btn) {
		display: none;
	}
	.expert-card {
		padding: 15px;
		min-height: 100px;
	}
	.mini-hex {position:absolute; right:35px;}
	.expert-grid,
	.scenario-grid,
	.expertise-checks,
	.form-grid {
		grid-template-columns: 1fr;
	}
	.scenario {
		min-height: 58px;
	}
	.scenario strong {margin-top:0px;}
	.scenario img {position:absolute; right:75px;}
	.about,
	.help {
		padding: 34px 24px;
	}
	.full {
		grid-column: auto;
	}
	h1 {
		font-size: 39px;
	}
	.drawer-inner {
		padding: 26px 24px 40px;
	}
	.expert-grid {
		display: flex;
		flex-direction: column;
		gap: 14px;
	}

	.expert-card {
		flex: none;
		width: 100%;
		min-height: 0;
	}

	.insight-page {
		padding: 40px 20px 65px;
	}
	.insight-back {
		margin-bottom: 30px;
	}
	.insight-header h1 {
		font-size: 36px;
		letter-spacing: -0.8px;
	}

	.insight-intro {
		font-size: 17px;
	}
	.insight-intro {
		font-size: 17px;
	}
	.insight-body p {
		font-size: 16px;
	}
	.insight-cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 24px;
	}
	
  .scenario-panel {
		padding: 20px;
	}

	.scenario-panel-header {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.scenario-toggle {
		width: 100%;
		padding: 13px 8px;
	}

 .expertise-checks {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
  }

 .expertise-check {
     width: 100%;
     min-width: 0;
     padding: 10px 8px;
     font-size: 12px;
     line-height: 1.3;
     display: flex;
     align-items: center;
     gap: 7px;
  } 

 .expertise-check input {
     flex-shrink: 0;
     margin: 0;
 	}
	
 .scenario-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .scenario {
    min-width: 0;
    min-height: 115px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
  }

  .scenario svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin: 0;
  }

  .scenario strong {
     font-size: 12px;
     line-height: 1.35;
  }	
		
}
