/* AW 2026 — load after homepage.css */

/* Shared layout */
:root {
  --aw-lime: #a6d86b;
  --aw-container-width: 1500px;
  --aw-container-gutter: 28px;
  --aw-content-width: calc(
    var(--aw-container-width)
    - var(--aw-container-gutter)
    - var(--aw-container-gutter)
  );
}

[hidden] { display: none !important; }

body { background: #faf9f7; }

.wrap,
header .wrap,
.hero .wrap {
  width: 100%;
  max-width: var(--aw-container-width);
  margin-inline: auto;
  padding-left: var(--aw-container-gutter);
  padding-right: var(--aw-container-gutter);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #8cbf43;
  outline-offset: 4px;
}

.v16-block {
  --plum: #291a3d;
  --plum2: #472a5e;
  --violet: #77458b;
  --lime: #5d9228;
  --ink: #2c1f45;
  font-family: Arial, Helvetica, sans-serif;
}

.v16-block .container,
.v16-block .footer .container {
  width: calc(
    100%
    - var(--aw-container-gutter)
    - var(--aw-container-gutter)
  );
  max-width: var(--aw-content-width);
  margin-inline: auto;
}

.v16-block .section { padding: 95px 0; }

.v16-block .section h2 {
  font-size: clamp(35px, 4.2vw, 58px);
  line-height: 1.1;
  letter-spacing: -.045em;
}

.v16-block .btn-green {
  background: #86be36;
  color: #21152f;
}

.v16-block .btn-purple { background: #3b2550; }

/* Header and navigation */
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 2000;
  background: #fff;
  padding: 14px 20px;
  color: #291a3d;
}

.skip-link:focus { top: 10px; }

header .wrap { position: relative; }

.combined-header-logo {
  width: 300px;
  height: auto;
  max-height: 75px;
  object-fit: contain;
  display: block;
}

.menu-toggle {
  display: none;
  color: #fff;
  background: #291a3d;
  border: 0;
  border-radius: 40px;
  padding: 12px 18px;
  font-weight: 700;
}

/* Hero and sliding panels */
.hero .wrap {
  padding-top: 54px;
  padding-bottom: 56px;
  min-height: 670px;
}

.hero-slide-track {
  display: block;
  transform: none;
}

.hero-slide { padding: 8px 0 14px; }

.hero-slide-heading {
  font-size: clamp(42px, 4.8vw, 70px);
  line-height: 1.05;
  letter-spacing: -.055em;
  margin: 18px 0 22px;
  min-height: 2.15em;
}

.hero-slide-heading em {
  color: #a6d86b;
  font-style: normal;
}

.hero-story .hero-slide > .eyebrow,
.hero-story .hero-topic {
  display: none;
}

.hero-story .hero-slide h1,
.hero-story .hero-slide-heading {
  margin-top: 0;
}

.hero-slide-viewport { overflow: visible; }

.hero-slide-viewport.is-sliding {
  overflow: hidden;
  width: calc(100% + 72px);
  margin: -28px -36px -22px;
}

.hero-slide-viewport.is-sliding .hero-slide-track {
  display: flex;
  width: 100%;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.hero-slide-viewport.is-sliding .hero-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 36px;
}

.hero .actions .btn.primary {
  box-shadow: 0 7px 24px rgba(111, 174, 54, .28);
}

/* Carousel controls */
.hero-slider-controls,
.hero-tab-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-slider-controls .hero-slide-tab,
.hero-slider-controls .hero-slider-arrow,
.hero-slider-controls .hero-slider-pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 2px solid #bda5d0;
  border-radius: 28px;
  background: #49315e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.hero-slider-controls .hero-slider-arrow {
  width: 48px;
  min-width: 48px;
  padding: 0;
  font-size: 20px;
}

.hero-slider-controls .hero-slider-pause {
  background: transparent;
  border-color: #fff;
}

.hero-slider-controls .hero-slide-tab.is-active {
  background: #fff;
  border-color: #fff;
  color: #291a3d;
}

.hero-slider-controls .hero-slide-tab:hover,
.hero-slider-controls .hero-slider-arrow:hover,
.hero-slider-controls .hero-slider-pause:hover {
  background: #65477e;
  color: #fff;
}

.hero-slider-controls button:focus-visible {
  outline: 3px solid #c9ed9d;
  outline-offset: 4px;
}

/* Sun and orbital map */
.hero .orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1.12;
}

.hero .orbit .planet {
  font-size: 14px;
  line-height: 1.15;
  padding: 4px;
  z-index: 5;
}

.hero .orbit .v16-sun {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36%;
  aspect-ratio: 1;
  z-index: 3;
  border-radius: 50%;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at 35% 30%,
    #fff7c6 0%,
    #ffe78a 24%,
    #ffc53d 56%,
    #ffad0a 78%,
    #e98a00 100%
  );
  box-shadow:
    0 0 0 10px #ffd65c1a,
    0 0 45px #ffd04773,
    0 0 100px #ffba2959,
    0 18px 110px #18072373;
}

.hero .orbit .v16-sun::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #ffde694d 0%,
    #ffcf451f 45%,
    transparent 75%
  );
  z-index: -1;
}

.hero .orbit .v16-sun::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid #ffffff59;
}

.hero .orbit .sun-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88%;
}

.hero .orbit .sun-logo {
  width: 100%;
  height: auto;
  display: block;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

/* Flexible stats */
.trust-band {
  padding-left: var(--aw-container-gutter);
  padding-right: var(--aw-container-gutter);
}

.trust-panel {
  display: grid;
  width: 100%;
  max-width: var(--aw-content-width);
  margin-inline: auto;
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  grid-auto-flow: row;
  row-gap: 24px;
}

.trust-footnote,
.credential-row {
  max-width: var(--aw-content-width);
  margin-inline: auto;
}

.trust-panel .trust-stat {
  min-width: 0;
  container-type: inline-size;
  padding: 14px 20px;
  border: 0;
}

.trust-panel .trust-stat + .trust-stat {
  border-left: 1px solid #e7e0ea;
}

.trust-panel .trust-stat strong {
  font-size: clamp(24px, 18cqw, 56px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.trust-panel .trust-stat p { line-height: 1.5; }

/* Introduction */
.continuation { padding: 84px 0 90px; }

.continuation .eyebrow {
  color: #a6d86b;
  margin-bottom: 22px;
}

.continuation h2 {
  max-width: 980px;
  margin: 0 auto 24px;
  font-size: clamp(36px, 4.8vw, 64px);
}

.continuation p { max-width: 810px; }

/* Services */
#expertise .service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

#expertise .service-grid > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 310px;
  padding: 28px;
  text-align: center;
}

#expertise .service-grid > a:nth-child(odd) {
  background: #3b2550;
}

#expertise .service-grid > a:nth-child(even) {
  background: #472a5e;
}

#expertise .service-grid > a:hover {
  background: #543169;
}

#expertise .service-description {
  font-size: 15px;
  line-height: 1.55;
  color: #e0d1e9;
  margin: 14px 0 22px;
}

#expertise .aw-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  padding: 8px;
  border-radius: 50%;
  background: #fff;
}

#expertise .aw-service-icon img {
  display: block;
  width: 56px;
  height: 56px;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
}

#expertise .service-grid h3 {
  font-size: 28px;
  line-height: 1.15;
}

#expertise .service-grid > a > b {
  margin-top: auto;
  padding-top: 20px;
}

/* Business challenges */
.v16-block #challenges .challenge-wrap {
  align-items: start;
}

.v16-block #challenges .challenge-grid {
  align-content: start;
  grid-auto-rows: auto;
}

.v16-block #challenges .challenge-option {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 20px 22px;
  gap: 8px;
  background: #eee8f3;
  text-align: left;
  text-decoration: none;
}

.v16-block #challenges .challenge-option[aria-pressed="true"] {
  border-color: #84b83b;
  background: #fff;
}

.v16-block #challenges .challenge-option strong,
.v16-block #challenges .challenge-option small {
  margin: 0;
}

.v16-block #challenges .challenge-option strong {
  line-height: 1.35;
}

.v16-block #challenges .challenge-option small {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
}

.v16-block #challenges .challenge-detail {
  min-height: 0;
  padding: 32px;
  background: linear-gradient(145deg, #3b2550, #291a3d);
}

/* R&D */
.v16-block .rnd {
  background: radial-gradient(
    ellipse at 85% 65%,
    #4a2b60,
    #291a3d 65%
  );
}

.v16-block .rnd-feature {
  background: linear-gradient(145deg, #4c2c63, #3b2550);
}

.v16-block .rnd-feature strong { color: #a6d86b; }
.v16-block .rnd-dialog h2 { line-height: 1.12; }

/* Corporate Finance */
.v16-block .corporate-person-text .eyebrow {
  color: #5d9228;
}

.v16-block .corporate-points span:nth-child(even) {
  background: #e8dfee;
}

/* Service directory */
.v16-block .directory-expand summary {
  background: linear-gradient(90deg, #3b2550, #472a5e);
}

.v16-block .directory-card { background: #fff; }

/* Testimonials */
.v16-block .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.v16-block .aw-testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 30px 24px;
  background: #fff;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(41, 26, 61, .12);
}

.v16-block .aw-testimonial__initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: #291a3d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.v16-block .aw-testimonial__quote {
  width: 100%;
  margin: 26px 0;
  color: #291a3d;
  font-size: 17px;
  font-style: italic;
  line-height: 1.55;
  text-align: center;
}

.v16-block .aw-testimonial__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.v16-block .aw-testimonial__client {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
  font-size: 13px;
  line-height: 1.4;
}

.v16-block .aw-testimonial__client strong {
  color: #953fb9;
}

.v16-block .aw-testimonial__client span {
  color: #62576d;
}

.v16-block .aw-testimonial__more {
  flex-shrink: 0;
  color: #a45c00;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.v16-block .aw-testimonial__more:hover {
  text-decoration: underline;
}

/* Footer */
.v16-block .footer .footer-main {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.v16-block .foot-bottom {
  width: 100%;
  max-width: none;
}

.v16-block .footer .foot-bottom p {
  max-width: none;
}

/* Desktop */
@media (min-width: 1051px) {
  .hero .orbit {
    max-width: none;
    aspect-ratio: 1.35;
  }

  .hero .orbit .v16-sun { width: 32%; }
}

@media (min-width: 851px) {
  header nav { display: flex !important; }
}

/* Stacked orbital map */
@media (min-width: 561px) and (max-width: 1050px) {
  .hero .orbit {
    max-width: 760px;
    aspect-ratio: 1.2;
  }
}

/* Smaller desktop and tablet */
@media (max-width: 1100px) {
  #expertise .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  header .wrap {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 12px;
  }

  .js-enabled header .wrap {
    flex-wrap: nowrap;
    padding-top: 0;
    padding-bottom: 0;
  }

  .js-enabled .menu-toggle { display: block; }

  .js-enabled header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 24px 28px;
    background: #fff;
    border-bottom: 1px solid #e5deeb;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    box-shadow: 0 12px 20px #21152f12;
  }

  .js-enabled header nav.is-open { display: flex; }

  .hero-slide-heading { min-height: 0; }

  .hero .wrap {
    padding-top: 40px;
    padding-bottom: 42px;
  }

  .v16-block .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .trust-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-panel .trust-stat + .trust-stat {
    border-left: 0;
  }
}

/* Phones */
@media (max-width: 560px) {
  :root { --aw-container-gutter: 20px; }

  .combined-header-logo { width: 175px; }

  header .wrap {
    min-height: 76px;
    gap: 12px;
  }

  .notice { font-size: 10px; }
  .hero .wrap { gap: 22px; }

  .hero-slide h1,
  .hero-slide-heading {
    font-size: 45px;
    min-height: 0;
  }

  .hero .actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero .actions .btn { font-size: 15px; }

  .hero .orbit {
    margin-top: 10px;
    aspect-ratio: 1.03;
  }

  .hero .orbit .planet {
    width: 55px;
    height: 55px;
    font-size: 10px;
  }

  .hero .orbit .v16-sun {
    width: 36%;
    padding: 9px;
  }

  .v16-block .section { padding: 65px 0; }
  .v16-block .section h2 { font-size: 35px; }
  .v16-block .rnd-fields { grid-template-columns: 1fr; }
  .v16-block .rnd-dialog { padding: 24px; }
  .v16-block .rnd-modal-header h2 { font-size: 26px; }
  .v16-block .footer .footer-main { flex-direction: column; }

  .continuation,
  .expertise-new {
    padding: 65px 0;
  }

  #expertise .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .trust-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}