/* ADN brand alignment: official palette and typographic hierarchy. */
:root {
  --ink: #2f529d;
  --ink2: #26488b;
  --text: #4c4b4d;
  --muted: #586477;
  --paper: #f4eadb;
  --white: #fff;
  --line: #d4d2cb;
  --lime: #7bb933;
  --aqua: #37e2fc;
  --sand: #f4eadb;
  --serif: "Akzidenz-Grotesk", "Nimbus Sans", Arial, Helvetica, sans-serif;
  --sans: "Garet", "Avenir Next", Arial, Helvetica, sans-serif;
  --orange: #ef7d0a;
  --green: #2c4528;
}

body { background: var(--paper); color: var(--text); font-family: var(--sans); }
.eyebrow, .pill, .nav, .header-cta, .button, .footer-nav {
  font-family: "Josefin Sans", Arial, sans-serif;
}
.eyebrow { color: var(--ink); letter-spacing: .12em; }
.display, .section-head h2, .intro h2, .service-row h3,
.sector-panel h3, .method-step h3, .partners h2,
.output-card h3, .contact h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.035em;
}
.display em, .intro h2 em {
  font-style: normal;
  font-weight: 700;
  color: var(--ink2);
}
.hero .display em { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: .08em; text-underline-offset: .1em; }
.section-head h2 { line-height: 1.08; }

.site-header {
  background: #fff;
  border-bottom: 3px solid var(--lime);
}
.header-inner { min-height: 122px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 240px; height: auto; }
.nav a { color: var(--ink2); font-size: .91rem; }
.nav .header-cta {
  background: var(--orange);
  color: #182e51;
  border-radius: 5px;
  padding: 14px 18px 11px;
}
.nav .header-cta:hover { background: #ffac39; }
.menu-toggle { color: var(--ink); border-color: var(--ink); }

.hero {
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  min-height: 640px;
}
.hero-copy { background: var(--paper); }
.hero .eyebrow { color: var(--ink); margin-bottom: 23px; }
.hero h1 {
  color: var(--ink2);
  font-size: clamp(3.35rem,5.5vw,6.15rem);
  line-height: 1.05;
}
.hero p { color: #485366; font-size: clamp(1.08rem,1.45vw,1.28rem); }
.button { border-radius: 5px; }
.button.primary { background: var(--orange); color: #162c52; }
.button.primary:hover { background: #ffad3b; }
.button.text { border-bottom-color: var(--ink); color: var(--ink); }
.hero-aside {
  min-height: 600px;
  background: var(--ink);
}
.hero-aside:after { display: none; }
.brand-panel {
  min-height: 600px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(28px,3.3vw,52px);
  color: #fff;
  background: var(--ink);
}
.brand-panel-top, .brand-panel-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.brand-panel-top {
  border-bottom: 1px solid rgba(255,255,255,.48);
  padding-bottom: 18px;
}
.brand-panel-top span:first-child { max-width: 230px; }
.brand-panel-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-panel-isotype {
  flex: 0 0 clamp(180px,17vw,255px);
  width: clamp(180px,17vw,255px);
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.brand-panel-isotype img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  filter: none;
}
.brand-panel-main p {
  color: #fff;
  font: 700 clamp(1.45rem,2vw,2.2rem)/1.05 "Josefin Sans",Arial,sans-serif;
  margin: 0;
  flex: 0 1 auto;
}
.brand-panel-main p .nowrap { white-space: nowrap; }
.brand-panel-bottom {
  border-top: 1px solid rgba(255,255,255,.48);
  padding-top: 18px;
}
.brand-panel-bottom span:nth-child(1) { color: #fff; }
.brand-panel-bottom span:nth-child(2) { color: #ffb932; }
.brand-panel-bottom span:nth-child(3) { color: #b2ff46; }

.thesis { background: var(--green); }
.thesis-lead { font: 700 1.33rem/1.3 var(--serif); }
.thesis-item span { color: #ffb932; }
.thesis-item b { font-family: "Josefin Sans",Arial,sans-serif; }
.intro { background: #fff; max-width: none; }
.intro-grid, .intro-bottom { max-width: 1272px; margin-left: auto; margin-right: auto; }
.intro h2 { color: var(--ink2); }
.intro h2 em { color: var(--green); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: .08em; text-underline-offset: .1em; }
.intro-bottom span { font: 700 1.7rem var(--serif); color: var(--ink); }
.intro-bottom h3 { color: var(--ink); }
.intro-bottom p { color: var(--muted); }

.services { background: #f5eee1; }
.services .section-head h2 { color: var(--ink2); }
.service-list, .service-row { border-color: #c6cabd; }
.service-no { color: var(--ink); font: 700 1.65rem var(--serif); }
.service-row h3 { color: var(--ink2); }
.service-row p { color: #566071; }
.service-row li {
  color: var(--green);
  border-color: #9ac65c;
  background: #fff;
}
.sector-section { background: #fff; max-width: none; }
.sector-section > * { max-width: 1272px; margin-left: auto; margin-right: auto; }
.sector-section h2 { color: var(--ink2); }
.sector-shell { border-color: #c9cfe0; background: #fff; }
.sector-tabs { background: #e7ecf6; }
.sector-tabs button {
  font-family: "Josefin Sans",Arial,sans-serif;
  color: var(--ink2);
}
.sector-tabs button[aria-selected="true"] {
  border-color: var(--orange);
  color: var(--ink2);
  background: #fff;
}
.sector-panel h3 { color: var(--ink2); }
.sector-panel p { color: #566071; }
.sector-panel aside .eyebrow { color: var(--ink); }
.pill { color: var(--ink); border-color: #9caecc; }

.method { background: var(--ink2); }
.method .eyebrow { color: #fff; }
.method .section-head p, .method-step p { color: #d6e0f5; }
.method-step span { color: #ffb932; font: 700 2.1rem var(--serif); }
.method-step h3 { color: #fff; }
.partners { background: var(--paper); }
.intro-grid { row-gap: 24px; align-items: start; }
.intro-grid > .eyebrow { grid-column: 1; grid-row: 1; }
.intro-grid > h2 { grid-column: 2; grid-row: 1 / span 2; }
.intro-photo {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  height: 480px;
  overflow: hidden;
  border-left: 5px solid var(--orange);
}
.service-photo {
  margin: 50px 0 0;
  height: clamp(300px, 39vw, 500px);
  overflow: hidden;
  border-top: 5px solid var(--lime);
}
.partner-visual { display: grid; gap: 16px; min-width: 0; }
.partner-photo {
  margin: 0;
  height: clamp(280px, 29vw, 360px);
  overflow: hidden;
  border-bottom: 5px solid var(--orange);
}
.intro-photo img, .service-photo img, .partner-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-photo img { object-position: center 42%; }
.service-photo img { object-position: center 65%; }
.partner-photo img { object-position: center 40%; }
.partners h2 { color: var(--ink2); }
.partners p { color: #566071; }
.partner-card { background: #e6ebf6; }
.partner-card:before { border-color: #adbbd7; }
.partner-card .eyebrow { color: var(--ink); }
.partner-columns div, .partner-outcome { border-color: #b6c0d5; }
.partner-columns h3 {
  color: var(--ink2);
  font-family: var(--serif);
  font-weight: 700;
}
.partner-outcome { color: var(--green); }
.outputs { background: #fff; }
.outputs h2 { color: var(--ink2); }
.output-card { background: var(--paper); border-top: 5px solid var(--orange); }
.output-card:nth-child(2) { border-color: var(--ink); }
.output-card:nth-child(3) { border-color: var(--lime); }
.output-card:nth-child(4) { border-color: var(--orange); }
.output-card span { color: var(--ink); font: 700 1.85rem var(--serif); }
.output-card h3 { color: var(--ink2); }
.output-card p { color: #5a6270; }
.contact { background: var(--ink); }
.contact .eyebrow { color: #b2ff46; }
.contact h2 { color: #fff; }
.contact-right p { color: #e4e9f4; }
.contact-links a { color: #fff; border-bottom: 2px solid var(--orange); }
.footer { background: #fff; color: var(--ink2); border-top: 4px solid var(--lime); }
.footer .brand img { width: 200px; }
.footer small { color: #65718a; }
.footer-nav a { color: var(--ink2); font-weight: 700; }
.footer-extra { margin-top: 12px; text-align: right; }
.footer-extra a {
  color: var(--ink2);
  font: 700 .875rem/1.4 "Josefin Sans", Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-social {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 14px;
  font: 700 .875rem/1.4 "Josefin Sans", Arial, sans-serif;
}
.footer-social a { color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; }

@media(max-width:1100px) {
  .brand img { width: 210px; }
  .header-inner { min-height: 112px; }
  .brand-panel-isotype { flex-basis: 180px; width: 180px; }
  .brand-panel-main { flex-direction: column; justify-content: center; gap: 25px; }
  .brand-panel-main p { font-size: 1.6rem; text-align: center; }
}
@media(max-width:850px) {
  .header-inner { min-height: 92px; }
  .brand img { width: 190px; }
  .nav { top: 100%; background: #fff; border-bottom-color: var(--lime); }
  .nav a { color: var(--ink2); }
  .hero { grid-template-columns: 1fr; }
  .hero-aside, .brand-panel { min-height: 390px; }
  .brand-panel-main { flex-direction: row; justify-content: center; gap: 55px; }
  .brand-panel-main p { text-align: left; }
  .intro-grid, .intro-bottom, .sector-section > * { max-width: none; }
  .intro-grid > .eyebrow { grid-column: 1; grid-row: 1; }
  .intro-grid > h2 { grid-column: 1; grid-row: 2; }
  .intro-photo { grid-column: 1; grid-row: 3; height: 450px; }
  .sector-tabs button[aria-selected="true"] { border-bottom-color: var(--orange); }
}
@media(max-width:620px) {
  .header-inner { min-height: 82px; }
  .brand img { width: 165px; }
  .nav { top: 100%; }
  .hero h1 { font-size: clamp(3.1rem,11vw,4.6rem); }
  .hero-aside, .brand-panel { min-height: 400px; }
  .brand-panel { padding: 25px 23px; }
  .brand-panel-top { font-size: .65rem; }
  .brand-panel-main { gap: 20px; justify-content: space-between; }
  .brand-panel-isotype { flex-basis: 132px; width: 132px; }
  .brand-panel-main p { font-size: clamp(1.3rem,5.2vw,1.85rem); }
  .brand-panel-bottom { font-size: .67rem; }
  .footer .brand img { width: 180px; }
  .intro-photo { height: 420px; }
  .service-photo { height: 300px; margin-top: 34px; }
  .partner-photo { height: 310px; }
  .footer-extra { margin-top: 22px; text-align: left; }
  .footer-social { justify-content: flex-start; }
}
@media(max-width:480px) {
  .brand-panel-main { flex-direction: column; justify-content: center; gap: 20px; }
  .brand-panel-main p { text-align: center; }
  .brand-panel-isotype { flex-basis: 120px; width: 120px; }
}
