:root {
  --navy: #172941;
  --coral: #f08066;
  --yellow: #f4af2d;
  --white: #fffdf9;
  --line: rgba(23, 41, 65, .22);
  --wash: #fff0e6;
  --ink-soft: #52647a;
  --blue-wash: #e9eff5;
}

body { background: var(--white); }
h1, h2, h3 { font-family: 'DM Sans', 'IBM Plex Sans', sans-serif; }
h2 { letter-spacing: -.058em; line-height: 1.04; font-weight: 700; }
h3 { letter-spacing: -.035em; }
.section { padding-block: clamp(82px, 8.5vw, 132px); }
.section-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-kicker::before { content: ''; display: inline-block; width: 27px; height: 3px; flex: none; background: var(--coral); }
.button { border-radius: 100px; padding-inline: 29px; transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease, color .25s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 13px 25px rgba(10, 24, 42, .14); }
.plain-link, .text-button { border-color: var(--coral); transition: border-color .2s ease, color .2s ease; }
.plain-link:hover, .text-button:hover { color: #b94430; border-color: #b94430; }

.site-header { background: #13243a; box-shadow: 0 5px 24px rgba(10, 23, 40, .15); }
.header-inner { height: 82px; }
.header-contact { margin-left: 6px; background: var(--coral); border: 0; border-radius: 100px; color: var(--navy); padding: 10px 19px; font-weight: 700; transition: background-color .2s ease, transform .2s ease; }
.header-contact:hover { background: #ffb19e; transform: translateY(-2px); }
.main-nav a { transition: color .2s ease, border-color .2s ease; }
.main-nav a:hover { color: #ffd7cc; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(ellipse at 83% 24%, rgba(91, 120, 156, .27), transparent 35%), linear-gradient(125deg, #172941 0%, #1d3553 65%, #102139 100%);
  padding-top: clamp(70px, 7vw, 112px);
}
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--coral) 0 43%, var(--yellow) 43% 73%, #607e9f 73%); pointer-events: none; }
.hero-layout { position: relative; z-index: 1; grid-template-columns: minmax(0, 1.17fr) minmax(350px, .83fr); gap: 6%; align-items: center; }
.hero-copy { padding-block: 6px 76px; animation: hero-enter .8s ease both; }
.hero .section-kicker { color: #ffbd9f; margin-bottom: 28px; }
.hero .section-kicker::before { background: var(--yellow); }
.hero h1 { max-width: 890px; font-size: clamp(3.5rem, 5.05vw, 5.65rem); font-weight: 700; margin-bottom: 34px; }
.hero h1 span { color: #ffae91; }
.hero-lede { color: #f0f4f6; font-size: clamp(1.12rem, 1.55vw, 1.3rem); max-width: 610px; }
.hero-role { color: #d5e0eb; border-left-color: var(--yellow); max-width: 610px; }
.hero-actions { margin-top: 37px; }
.hero .button-primary { color: var(--navy); border-color: var(--coral); background: var(--coral); }
.hero .button-primary:hover { background: #ffad99; border-color: #ffad99; color: var(--navy); }
.hero .plain-link { color: var(--white); border-color: var(--yellow); }
.hero .plain-link:hover { color: #ffcf75; border-color: #ffcf75; }
.system-visual { position: relative; min-height: 540px; background: #233e5c; border-radius: 2px; box-shadow: 0 18px 0 rgba(244, 175, 45, .95), 0 30px 34px rgba(6, 18, 34, .24); animation: visual-enter .9s .12s ease both; }
.system-head { background: rgba(9, 26, 45, .28); }
.system-title { min-width: 0; margin: 0; font-family: 'DM Sans', 'IBM Plex Sans', sans-serif; font-size: 1.375rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.system-title strong { display: block; font-weight: 700; }
.system-title span { display: block; margin-top: 3px; font-size: 1.0625rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; text-transform: none; }
.system-body { position: relative; min-height: 345px; justify-content: flex-end; overflow: hidden; background: #253a4e; }
.system-body::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 27, 45, .84), rgba(11, 27, 45, .1) 65%); pointer-events: none; }
.system-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s ease; }
.system-visual:hover .system-photo { transform: scale(1.045); }
.system-body>strong { position: relative; z-index: 1; font-family: 'DM Sans', sans-serif; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.entry-band { position: relative; z-index: 2; border: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); box-shadow: 0 -7px 28px rgba(10, 24, 42, .1); }
.entry-band a { min-height: 134px; padding: 25px 34px; color: var(--navy); transition: background-color .22s ease, padding-left .22s ease; }
.entry-band a:hover { padding-left: 44px; }
.entry-band a:first-child { background: var(--yellow); }
.entry-band a:first-child:hover { background: #ffcb64; }
.entry-band a+a { padding-left: 34px; border-left: 0; background: var(--coral); }
.entry-band a+a:hover { padding-left: 44px; background: #ffa18c; }
.entry-band span { text-transform: uppercase; letter-spacing: .07em; font-size: .875rem; font-weight: 700; }
.entry-band strong { font-family: 'DM Sans', sans-serif; }

.needs { background: #fff0e6; }
.section-intro h2 { font-size: clamp(2.55rem, 3.65vw, 4rem); }
.needs .section-intro h2 { max-width: 500px; }
.needs-index { border-top: 2px solid var(--navy); }
.needs-index>a { position: relative; padding: 25px 15px 26px; transition: background-color .25s ease, padding-left .25s ease; }
.needs-index>a:hover { background: #fffaf5; padding-left: 27px; }
.needs-index h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; }
.index-no { color: #b84430; font-family: 'DM Sans', sans-serif; }
.index-link { color: #ad3f2e; }

.method { background: var(--white); }
.method .section-intro .plain-link { margin-top: 5px; }
.method-track { border-left-color: #bdcfde; border-left-width: 3px; }
.method-step { transition: transform .25s ease; }
.method-step:hover { transform: translateX(7px); }
.method-step::before { border-color: var(--coral); background: var(--coral); box-shadow: 0 0 0 5px #ffe4da; transition: transform .25s ease, box-shadow .25s ease; }
.method-step:hover::before { transform: scale(1.25); box-shadow: 0 0 0 8px #ffe4da; }
.method-step:nth-child(7)::before { border-color: var(--yellow); background: var(--yellow); box-shadow: 0 0 0 5px #fff0c5; }
.step-number { color: #b84430; }
.certification-step>div { border-top-color: var(--yellow); }

.activities { background: #f5b74b; }
.activities .section-kicker::before { background: var(--navy); }
.activity-list { gap: 14px 2.5%; }
.activity-list article { border: 1px solid rgba(23, 41, 65, .28); background: rgba(255, 253, 249, .22); padding: 28px 30px 34px; min-height: 210px; transition: transform .28s ease, background-color .28s ease, box-shadow .28s ease; }
.activity-list article:hover { transform: translateY(-5px); background: rgba(255, 253, 249, .64); box-shadow: 0 14px 30px rgba(83, 54, 14, .1); }
.activity-list h3 { font-weight: 700; }

.standards { background: var(--blue-wash); }
.standards-directory { border-top: 2px solid var(--navy); }
.standard { padding-block: 22px; transition: background-color .2s ease, padding-left .2s ease; }
.standard:hover { background: rgba(255, 255, 255, .6); padding-left: 12px; }
.standard strong { color: #ba4e38; }

.people { position: relative; overflow: hidden; background: #ed8067; color: var(--navy); padding-block: clamp(95px, 9vw, 148px); }
.people::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: linear-gradient(90deg, var(--navy) 0 50%, var(--yellow) 50%); }
.people-layout { align-items: center; gap: 9%; }
.people-heading img { width: 72px; margin-bottom: 36px; }
.people h2 { font-size: clamp(3.7rem, 5.6vw, 6rem); font-weight: 700; }
.people h2 em { color: #fff; text-decoration: none; }
.people-lede { margin-top: 26px; font-size: 1.28rem; }
.people-principles { border-top-color: rgba(23,41,65,.5); }
.people-principles p { border-bottom-color: rgba(23,41,65,.5); }
.people-principles p { transition: padding-left .2s ease, color .2s ease; }
.people-principles p:hover { padding-left: 11px; color: #fff; }


.insights { background: var(--white); }
.insights .split-heading { margin-bottom: 40px; }
.news-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; border-top: 0; padding-top: 0; align-items: stretch; }
.news-feature, .news-others article { display: flex; flex-direction: column; min-width: 0; }
.news-feature { padding: clamp(32px, 3.2vw, 48px); background: #243e5c; color: #fff; border-top: 6px solid var(--yellow); min-height: 460px; }
.news-feature .news-meta { color: #ffbc9d; margin-bottom: 30px; }
.news-feature h3 { font-size: clamp(2.2rem, 3.3vw, 3.5rem); line-height: 1.07; max-width: 16ch; margin-bottom: 24px; }
.news-feature>p:not(.news-meta) { max-width: 37ch; line-height: 1.5; margin-bottom: 30px; }
.news-feature .plain-link { color: #fff; border-color: #ffb955; margin-top: auto; }
.news-feature .plain-link:hover { color: #ffcf85; }
.news-others { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 18px; }
.news-others article, .news-others article:first-child { background: #fff0e6; border: 0; border-top: 6px solid var(--coral); padding: 28px 34px 30px; margin: 0; }
.news-others article:nth-child(2) { border-top-color: var(--yellow); }
.news-others .news-meta { margin-bottom: 14px; }
.news-others h3 { font-family: 'DM Sans', sans-serif; font-size: clamp(1.55rem, 2vw, 1.9rem); line-height: 1.16; margin-bottom: 14px; }
.news-others article>p:not(.news-meta) { line-height: 1.48; margin-bottom: 22px; }
.news-others .plain-link { margin-top: auto; }

.faq { background: var(--blue-wash); }
.faq-list { border-top: 2px solid var(--navy); }
.faq-list details { transition: background-color .2s ease, padding-left .2s ease; }
.faq-list details:hover, .faq-list details[open] { background: rgba(255,255,255,.55); padding-left: 14px; }
.faq-list summary::after { color: #bc4a33; }
.locations { background: var(--white); }
.locations-list article { border-top: 3px solid var(--coral); }
.locations-list article:nth-child(2) { border-top-color: var(--yellow); }
.locations-list article:nth-child(3) { border-top-color: #517494; }

.final-cta { border-top: 0; background: var(--coral); padding-block: clamp(86px, 8vw, 126px); }
.final-cta .section-kicker::before { background: var(--navy); }
.final-cta h2 { font-size: clamp(2.8rem, 4.6vw, 5rem); }
.final-cta .button-primary { background: var(--navy); color: #fff; }
.final-cta .button-primary:hover { background: #29445f; color: #fff; }
.contact-details { border-top: 2px solid var(--navy); }
.contact-details a { border-color: rgba(23,41,65,.35); }
.site-footer { background: #102137; }
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: #ffb69b; }

.motion-ready .reveal { opacity: 0; transform: translateY(35px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .method-step.reveal.is-visible:hover { transform: translateX(7px); }
.motion-ready .activity-list article.reveal.is-visible:hover { transform: translateY(-5px); }
.motion-ready .reveal:nth-child(2) { transition-delay: .07s; }
.motion-ready .reveal:nth-child(3) { transition-delay: .14s; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes visual-enter { from { opacity: 0; transform: translate(25px, 30px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .hero h1 { font-size: clamp(3.15rem, 4.55vw, 4.8rem); }
  .system-visual { min-height: 515px; }
}
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 60px; }
  .hero h1 { max-width: 760px; font-size: clamp(3.2rem, 6.8vw, 5rem); }
  .system-visual { max-width: 700px; margin-bottom: 30px; }
  .people-layout { gap: 64px; }
}
@media (max-width: 800px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-feature { min-height: 0; }
  .news-others { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
}
@media (max-width: 640px) {
  .section { padding-block: 74px; }
  .site-header .header-inner { height: 68px; }
  .hero { padding-top: 63px; }
  .hero-copy { padding-bottom: 52px; }
  .hero h1 { font-size: clamp(2.8rem, 9.9vw, 4.1rem); margin-bottom: 28px; }
  .hero-actions { align-items: flex-start; }
  .system-visual { min-height: 0; box-shadow: 12px 12px 0 var(--yellow); margin-right: 12px; margin-bottom: 28px; }
  .entry-band { grid-template-columns: 1fr; }
  .entry-band a, .entry-band a+a { min-height: 110px; padding: 20px 23px; }
  .entry-band a:hover, .entry-band a+a:hover { padding-left: 29px; }
  .section-intro h2 { font-size: clamp(2.25rem, 8vw, 3.2rem); }
  .needs-index>a { padding-inline: 8px; }
  .needs-index>a:hover { padding-left: 15px; }
  .activity-list { gap: 11px; }
  .activity-list article { min-height: 0; padding: 23px 24px 28px; }
  .people { padding-block: 84px; }
  .people h2 { font-size: clamp(3rem, 10.3vw, 4.5rem); }
  .insights .split-heading { margin-bottom: 30px; }
  .news-layout { gap: 14px; }
  .news-feature { padding: 30px 26px 34px; }
  .news-feature .news-meta { margin-bottom: 24px; }
  .news-feature h3 { font-size: clamp(1.85rem, 7.2vw, 2.25rem); max-width: none; }
  .news-feature>p:not(.news-meta) { font-size: 1rem; }
  .news-others { grid-template-columns: 1fr; gap: 14px; }
  .news-others article, .news-others article:first-child { padding: 26px; }
  .news-others h3 { font-size: 1.5rem; }
  .final-cta { padding-block: 85px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy, .system-visual { animation: none !important; }
  .motion-ready .reveal { opacity: 1; transform: none; transition: none; }
  .button, .needs-index>a, .method-step, .activity-list article, .system-photo { transition: none; }
}

/* Give the opening room around its content and navigation choices. */
.hero { padding-top: 80px; }
.hero-layout { grid-template-columns: minmax(0, 1.17fr) minmax(320px, .83fr); gap: 7%; min-height: 0; align-items: center; padding-bottom: 90px; }
.hero-copy { min-width: 0; padding: 0; }
.hero .section-kicker { margin-bottom: 25px; }
.hero h1 { font-size: clamp(3.05rem, 4.7vw, 3.75rem); font-weight: 700; letter-spacing: -.058em; line-height: 1.04; margin-bottom: 32px; }
.hero-phrase { white-space: normal; }
.hero-lede { font-size: 1.14rem; line-height: 1.55; margin-bottom: 0; max-width: 580px; }
.hero-actions { margin-top: 38px; }
.system-visual {
  width: min(100%, 400px);
  min-height: 430px;
  justify-self: end;
  border: 6px solid var(--white);
  border-radius: 20px;
  box-shadow: 0 13px 0 var(--yellow), 0 28px 48px rgba(3, 13, 28, .42);
}
.system-head { padding: 20px 26px; gap: 16px; background: var(--white); color: var(--navy); border-bottom: 1px solid rgba(23, 41, 65, .12); }
.system-mark { display: block; flex: none; width: 38px; height: 48px; background-color: var(--navy); -webkit-mask: url('assets/consulcert-mark.png') center / contain no-repeat; mask: url('assets/consulcert-mark.png') center / contain no-repeat; }
.system-body { min-height: 330px; padding: 27px; }
.system-body > strong { font-size: clamp(1.55rem, 2vw, 1.95rem); }
.entry-band a, .entry-band a+a { min-height: 140px; padding: 29px 34px; gap: 5px; }
.entry-band a, .entry-band a+a { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; }
.entry-band a:hover, .entry-band a+a:hover { padding-left: 34px; }
.entry-band strong, .entry-need strong { font-size: 1.42rem; }
.entry-band .entry-action {
  align-self: flex-start;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 2px 8px 3px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.entry-band a:hover .entry-action, .entry-band a:focus-visible .entry-action { background: var(--navy); color: var(--white); }

@media (min-width: 901px) and (max-width: 1150px) {
  .hero h1 { font-size: clamp(2.5rem, 4.2vw, 3.2rem); }
}

@media (max-width: 900px) {
  .hero { padding-top: 56px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(2.8rem, 5.8vw, 3.25rem); }
  .hero-copy { padding: 0; }
  .hero .section-kicker { margin-bottom: 22px; }
  .hero h1 { margin-bottom: 28px; }
  .hero-actions { margin-top: 34px; }
  .entry-band a, .entry-band a+a { min-height: 125px; }
  .system-visual { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 40px; }
  .entry-band { grid-template-columns: 1fr; grid-auto-rows: 1fr; }
  .hero .section-kicker { align-items: flex-start; font-size: .875rem; line-height: 1.5; letter-spacing: .06em; margin-bottom: 18px; }
  .hero .section-kicker::before { margin-top: .6em; }
  .hero h1 { font-size: clamp(2rem, 8.8vw, 2.8rem); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 24px; overflow-wrap: break-word; }
  .hero-lede { font-size: 1.05rem; }
  .hero-actions { align-items: stretch; margin-top: 27px; gap: 12px; }
  .hero-actions .button-primary { width: 100%; max-width: 24rem; }
  .hero-actions .plain-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; }
  .hero-layout { padding-bottom: 54px; }
  .hero-copy { padding: 0; }
  .entry-band a, .entry-band a+a { min-height: 100px; padding: 19px 18px; }
  .entry-band a:hover, .entry-band a+a:hover { padding-left: 18px; }
  .entry-band span { font-size: .73rem; }
  .entry-band strong, .entry-need strong { font-size: 1.2rem; }
  .entry-band .entry-action { font-size: .77rem; margin-top: 5px; }
}
