/* Original full-width image carousel, rebuilt without a carousel library. */
.hero-carousel {
  position: relative;
  isolation: isolate;
  min-height: 670px;
  display: grid;
  align-content: center;
  background: #102e27;
  color: white;
  text-align: center;
  padding: 100px 0 130px;
}
.carousel-images, .carousel-slide { position: absolute; inset: 0; z-index: -2; }
.carousel-slide[hidden] { display: none; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #071e1bcc, #071e1b99, #071e1baa);
}
.carousel-copy { max-width: 1050px; }
.carousel-copy .eyebrow { justify-content: center; color: #c4efd3; line-height: 1.8; }
.carousel-copy .eyebrow::before { display: none; }
.carousel-copy h1 { font-size: clamp(3.5rem, 7vw, 6.5rem); letter-spacing: -.04em; }
.carousel-lead { font-size: clamp(1.1rem, 2vw, 1.5rem); max-width: 720px; margin: 25px auto 0; color: #fff; }
.carousel-copy .actions { justify-content: center; }
.carousel-copy .button.ghost { background: #102e278c; border-color: #c2d8cc; }
.carousel-caption { margin: 36px 0 0; font-size: .78rem; letter-spacing: .08em; color: #e0eee4; }
.carousel-controls {
  display: flex;
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  flex-wrap: wrap;
}
.carousel-controls[hidden], .market-picker[hidden] { display: none; }
.carousel-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #b4cbbb;
  border-radius: 4px;
  background: #102e27e6;
  color: white;
  padding: 8px 12px;
  font-size: .8rem;
}
.carousel-controls button:hover { background: #1d513e; }
.carousel-controls .carousel-dot[aria-pressed=true] { background: #c5efd4; color: #102e27; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px; }
.service-item img { aspect-ratio: 1.8; object-fit: cover; }
.project-roles { margin: 28px 0; }
.project-roles div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.project-roles dt { font-size: .72rem; color: var(--green); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.project-roles dd { margin: 5px 0 0; }
.book-cover { padding: 30px; background: #e8efe3; border: 1px solid var(--line); border-radius: 6px; }
.book-cover img { aspect-ratio: 1; object-fit: contain; width: 100%; max-width: 522px; margin-inline: auto; box-shadow: 0 12px 24px #152d2324; }
.book-byline { margin: 18px 0 24px; font-size: .85rem; color: var(--green); }
.brand-icon, .service-item .brand-icon, .service-detail .brand-icon, .editorial .brand-icon {
  width: 64px; height: 64px; aspect-ratio: 1; object-fit: contain; flex: none;
  margin: 0 0 22px; border-radius: 0; max-height: none;
}
.icon-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.service-item .icon-heading .brand-icon { width: 54px; height: 54px; margin: 0; }
.feature-copy .brand-icon { background: #edf4e8; border-radius: 8px; padding: 8px; }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.offer-card { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 6px; padding: 42px; }
.offer-icons { display: flex; flex-wrap: wrap; column-gap: 18px; }
.process-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.process-heading .brand-icon { margin: 0; }
.offer-card h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 26px; }
.offer-card .lead { font-size: 1rem; }
.offer-card > p:not(.eyebrow) { color: var(--muted); }
.offering-steps { padding-left: 22px; margin: 25px 0; }
.offering-steps li { margin-bottom: 12px; padding-left: 5px; }
.offering-note { font-size: .85rem; line-height: 1.7; }
.offer-card .actions { margin-top: auto; padding-top: 28px; }
.offer-card .button { width: 100%; }
@media(max-width:850px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { padding: 32px; }
}
@media(max-width:600px) {
  .offer-card { padding: 26px 22px; }
  .offer-card .button { padding-inline: 13px; gap: 10px; }
  .icon-heading { gap: 14px; }
}
.market-picker { display: grid; grid-template-columns: minmax(200px, 400px) auto; gap: 14px 20px; align-items: end; max-width: 700px; }
.market-picker .button { min-height: 50px; }
.market-status { grid-column: 1/-1; color: var(--green); font-size: .87rem; }
.market-note { max-width: 760px; font-size: .9rem; color: var(--muted); margin: 24px 0 36px; }
.market-directory summary { cursor: pointer; font-weight: 650; padding: 18px 0; border-block: 1px solid #b8cbbd; }
.market-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.market-links li { min-width: 0; }
.market-links a { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; height: 100%; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.market-links a:hover { border-color: var(--green); }
.market-links strong { font-size: .95rem; }
.market-links span:not(.arrow) { grid-column: 1; font-size: .73rem; color: var(--muted); overflow-wrap: anywhere; }
.market-links .arrow { grid-column: 2; grid-row: 1/3; align-self: center; }
@media(min-width:851px) and (max-width:1100px) {
  .nav { gap: 12px; }
  .header-inner { gap: 16px; }
  .brand img { width: 175px; }
  .nav .nav-contact { padding-inline: 12px; }
}
@media(max-width:850px) {
  .market-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:600px) {
  .hero-carousel { min-height: 650px; padding: 65px 0 150px; }
  .carousel-copy h1 { font-size: clamp(3rem, 13vw, 4.3rem); }
  .carousel-copy .eyebrow { font-size: .62rem; letter-spacing: .12em; max-width: 300px; margin-inline: auto; }
  .carousel-copy .actions { gap: 10px; }
  .carousel-copy .button { padding: 13px 15px; gap: 10px; font-size: .8rem; }
  .carousel-caption { margin-top: 25px; font-size: .72rem; min-height: 38px; }
  .carousel-controls { width: 310px; bottom: 22px; }
  .carousel-controls [data-carousel=rotation] { flex-basis: 100%; }
  .service-grid { grid-template-columns: 1fr; gap: 34px; }
  .market-picker { grid-template-columns: 1fr; }
  .market-links { grid-template-columns: 1fr; }
}
