.cw-species {
  --cw-species-accent: var(--cw-teal);
  background: var(--cw-color-surface);
  color: var(--cw-text);
  font-family: var(--font-body);
  overflow-x: clip;
}

.cw-species-hero {
  position: relative;
  min-height: 637px;
  overflow: hidden;
  background: var(--cw-dark-evergreen);
}

.cw-species-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
}

.cw-species-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.cw-species-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cw-species-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.23));
}

.cw-species-hero__caption {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(1200px, calc(100% - 180px));
  transform: translate(-50%, -50%);
  color: var(--cw-white);
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.cw-species-hero__caption h1,
.cw-species-hero__caption h2 {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--cw-white);
  font-family: var(--font-heading);
  font-size: 58px;
  font-weight: 400;
  line-height: 1;
  overflow-wrap: anywhere;
  white-space: normal;
}

.cw-species-hero__caption p {
  width: 100%;
  max-width: 100%;
  margin: 14px 0 0;
  font-size: clamp(23px, 2.25vw, 38px);
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
}

.cw-species-hero__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 54px;
  height: 70px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.cw-species-hero__arrow--prev {
  left: 34px;
}

.cw-species-hero__arrow--next {
  right: 34px;
}

.cw-species-hero__arrow span {
  display: block;
  width: 30px;
  height: 30px;
  margin: auto;
  border-top: 2px solid var(--cw-white);
  border-right: 2px solid var(--cw-white);
}

.cw-species-hero__arrow--prev span {
  transform: rotate(-135deg);
}

.cw-species-hero__arrow--next span {
  transform: rotate(45deg);
}

.cw-species-hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 13px;
  transform: translateX(-50%);
}

.cw-species-hero__dots button {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cw-white);
  cursor: pointer;
}

.cw-species-hero__dots button.is-active {
  background: var(--cw-species-accent);
}

.cw-species-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 30px;
  background: var(--cw-color-surface);
}

.cw-species-tabs__item {
  position: relative;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: var(--cw-text);
  font-size: 22px;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.cw-species-tabs__item + .cw-species-tabs__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(0, 0, 0, 0.55);
}

.cw-species-tabs__item.is-active {
  background: var(--cw-species-accent);
  color: var(--cw-white);
}

.cw-species-tabs__item.is-active::before,
.cw-species-tabs__item.is-active + .cw-species-tabs__item::before {
  opacity: 0;
}

.cw-species-panel {
  background: var(--cw-species-accent);
  color: var(--cw-white);
  overflow: hidden;
}

.cw-species-panel__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 48px;
  min-height: 600px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 0;
}

.cw-species-panel__text h2 {
  margin: 0 0 74px;
  font-family: var(--font-body);
  font-size: 58px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cw-species-panel__text div {
  max-width: 650px;
  font-size: 24px;
  line-height: 1.36;
}

.cw-species-panel__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 290px 290px;
  gap: 20px;
  height: 600px;
  min-height: 0;
  margin-top: -76px;
  align-self: start;
}

.cw-species-panel__image {
  overflow: hidden;
  background: var(--cw-color-surface-warm);
}

.cw-species-panel__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cw-species-panel__image--1 {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  height: 360px;
}

.cw-species-panel__image--2 {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  width: calc(100% - 36px);
  height: 290px;
}

.cw-species-panel__image--3 {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  width: 100%;
  height: 290px;
}

.cw-species-section-title {
  margin: 0;
  color: var(--cw-green-primary);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cw-species-characteristics {
  padding: 88px 0 64px;
}

.cw-species-characteristics__graphic {
  margin-top: 36px;
  overflow: hidden;
}

.cw-species-characteristics__image {
  display: block;
  width: 100%;
  height: auto;
}

.cw-species-properties {
  padding: 40px 0 66px;
}

.cw-species-properties__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 72px;
}

.cw-species-accordion__trigger {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 84px;
  border: 0;
  padding: 22px 32px;
  background: var(--cw-color-surface-warm);
  color: var(--cw-text);
  font-family: var(--font-body);
  font-size: 24px;
  text-align: left;
  cursor: pointer;
}

.cw-species-accordion {
  position: relative;
}

.cw-species-accordion.is-open {
  z-index: 5;
}

.cw-species-accordion__icon {
  position: relative;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.cw-species-accordion__icon::before,
.cw-species-accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--cw-color-text);
}

.cw-species-accordion__icon::before {
  left: 0;
  right: 0;
  top: 12px;
  height: 1px;
}

.cw-species-accordion__icon::after {
  top: 0;
  bottom: 0;
  left: 12px;
  width: 1px;
}

.cw-species-accordion__trigger[aria-expanded="true"] .cw-species-accordion__icon::after {
  opacity: 0;
}

.cw-species-accordion__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 4;
  padding: 26px 32px 32px;
  background: var(--cw-color-surface-warm);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
  font-size: 18px;
  line-height: 1.5;
  font-family: var(--font-body);
  font-weight: 300;
}

.cw-species-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cw-species-resources {
  padding: 12px 0 72px;
}

.cw-species-resources__viewport {
  margin-top: 72px;
  overflow: hidden;
}

.cw-species-resources__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.cw-species-resources.has-slider .cw-species-resources__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cw-species-resources.has-slider .cw-species-resources__track::-webkit-scrollbar {
  display: none;
}

.cw-species-resource {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  min-height: 330px;
  padding: 34px 30px;
  background: var(--cw-color-surface-warm);
}

.cw-species-resources.has-slider .cw-species-resource {
  flex: 0 0 calc((100% - 36px) / 2);
  scroll-snap-align: start;
}

.cw-species-resource__media {
  width: 100%;
  height: 100%;
  min-height: 250px;
  overflow: hidden;
}

.cw-species-resource__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cw-species-resource__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cw-species-resource h3 {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.cw-species-resource__body div {
  font-size: 18px;
  line-height: 1.35;
}

.cw-species-resource__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 220px;
  min-height: 52px;
  margin-top: auto;
  background: var(--cw-color-action);
  color: var(--cw-white);
  text-decoration: none;
  font-size: 22px;
}

.cw-species-resource__button img {
  display: block;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
}

.cw-species-collections {
  padding: 16px 0 86px;
}

.cw-species-collections__viewport {
  position: relative;
  margin-top: 74px;
}

.cw-species-collections__grid {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cw-species-collections__grid::-webkit-scrollbar {
  display: none;
}

.cw-species-collection {
  flex: 0 0 calc((100% - 52px) / 3);
  scroll-snap-align: start;
}

.cw-species-collection__button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--cw-text);
  text-align: left;
  cursor: pointer;
}

.cw-species-collection__media {
  display: block;
  width: 100%;
  aspect-ratio: 1.1 / 1;
  overflow: hidden;
}

.cw-species-collection__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cw-species-collection__button > span:not(.cw-species-collection__media) {
  display: block;
  padding-top: 18px;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.25;
}

.cw-species-arrow {
  position: relative;
  width: 42px;
  height: 66px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.cw-species-arrow::before {
  content: "";
  position: absolute;
  top: 16px;
  width: 34px;
  height: 34px;
  border-top: 2px solid var(--cw-color-text);
  border-right: 2px solid var(--cw-color-text);
}

.cw-species-arrow--prev::before {
  left: 12px;
  transform: rotate(-135deg);
}

.cw-species-arrow--next::before {
  right: 12px;
  transform: rotate(45deg);
}

.cw-species-collections__viewport > .cw-species-arrow {
  position: absolute;
  top: 40%;
  z-index: 2;
}

.cw-species-collections__viewport > .cw-species-arrow--prev {
  left: -64px;
}

.cw-species-collections__viewport > .cw-species-arrow--next {
  right: -64px;
}

@media (max-width: 1440px) and (min-width: 769px) {
  .cw-species-collections__viewport > .cw-species-arrow {
    z-index: 6;
  }

  .cw-species-collections__viewport > .cw-species-arrow--prev {
    left: 4px;
  }

  .cw-species-collections__viewport > .cw-species-arrow--next {
    right: 4px;
  }

  .cw-species-collections__viewport > .cw-species-arrow::before {
    border-color: var(--cw-white);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
  }
}

.cw-species-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: var(--cw-color-surface);
}

.cw-species-modal.is-open {
  display: block;
}

.cw-species-modal__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 88px 92px 72px;
}

.cw-species-modal__count {
  position: absolute;
  top: 16px;
  left: 28px;
  color: var(--cw-dark-moss);
  font-size: 18px;
  font-weight: 700;
}

.cw-species-modal__close {
  position: absolute;
  top: 30px;
  right: 38px;
  width: 51px;
  height: 51px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cw-species-modal__close::before,
.cw-species-modal__close::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 5px;
  width: 45px;
  height: 2px;
  background: var(--cw-dark-moss);
}

.cw-species-modal__close::before {
  transform: rotate(45deg);
}

.cw-species-modal__close::after {
  transform: rotate(-45deg);
}

.cw-species-modal__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 58px;
  align-items: center;
  width: min(1660px, calc(100vw - 260px));
  margin: 0 auto;
}

.cw-species-modal__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(74vh, 780px);
  min-height: 420px;
}

.cw-species-modal__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cw-species-modal__text h2 {
  margin: 0 0 34px;
  color: var(--cw-color-text);
  font-size: 26px;
  line-height: 1.2;
}

.cw-species-modal__text {
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding-right: 8px;
}

.cw-species-modal__text p {
  margin: 0;
  color: var(--cw-text);
  font-size: 22px;
  line-height: 1.22;
}

.cw-species-modal__species {
  margin-bottom: 18px;
  color: var(--cw-green-primary);
  font-size: 18px;
  font-weight: 700;
}

.cw-species-modal__facts {
  display: grid;
  gap: 9px;
  margin: 0 0 28px;
}

.cw-species-modal__facts > div {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 12px;
}

.cw-species-modal__facts > div[hidden] {
  display: none;
}

.cw-species-modal__facts dt,
.cw-species-modal__facts dd {
  margin: 0;
  color: var(--cw-color-text);
  font-size: 16px;
  line-height: 1.35;
}

.cw-species-modal__facts dt {
  font-weight: 700;
}

.cw-species-modal__description p {
  font-size: 17px;
  line-height: 1.4;
  white-space: pre-line;
}

.cw-species-modal__arrow {
  position: absolute;
  top: 52%;
  width: 42px;
  height: 66px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.cw-species-modal__arrow::before {
  content: "";
  position: absolute;
  top: 16px;
  width: 34px;
  height: 34px;
  border-top: 2px solid var(--cw-dark-moss);
  border-right: 2px solid var(--cw-dark-moss);
}

.cw-species-modal__arrow--prev {
  left: 34px;
}

.cw-species-modal__arrow--prev::before {
  left: 12px;
  transform: rotate(-135deg);
}

.cw-species-modal__arrow--next {
  right: 34px;
}

.cw-species-modal__arrow--next::before {
  right: 12px;
  transform: rotate(45deg);
}

body.cw-species-modal-open {
  overflow: hidden;
}

.cw-species-contact {
  background: var(--cw-color-surface);
}

.cw-species-contact__intro {
  position: relative;
  padding: 68px 0 118px;
  background: var(--cw-color-surface-evergreen-soft);
  overflow: visible;
}

.cw-species-contact__intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 88px;
  background: var(--cw-color-surface);
  clip-path: polygon(0 72%, 100% 0, 100% 100%, 0 100%);
}

.cw-species-contact__intro .cw-container {
  position: relative;
  z-index: 1;
  text-align: left;
}

.cw-species-contact__intro h2 {
  max-width: 1120px;
  margin: 0 0 32px 0;
  color: var(--cw-green-primary);
  font-family: var(--font-body);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: left;
}

.cw-species-contact__intro .cw-container > div {
  max-width: 790px;
  margin-left: 0;
  margin-right: auto;
  color: var(--cw-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}

.cw-species-contact__note-wrap {
  position: relative;
  z-index: 2;
  min-height: 34px;
  margin-top: -52px;
}

.cw-species-contact__note {
  margin: 0;
  color: var(--cw-moss);
  font-size: 18px;
  font-weight: 400;
  text-align: right;
}

.cw-species-contact__form {
  padding: 50px 0 78px;
}

.cw-species-contact__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 58px;
}

.cw-species-contact__field {
  display: grid;
  gap: 8px;
  color: var(--cw-moss);
  font-size: 18px;
}

.cw-species-contact__field.is-wide {
  grid-column: 1 / -1;
}

.cw-species-contact__field input,
.cw-species-contact__field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--cw-moss);
  background: transparent;
  border-radius: 0;
  min-height: 36px;
  font: inherit;
  color: var(--cw-text);
  outline: none;
}

.cw-species-contact__field textarea {
  min-height: 72px;
  resize: vertical;
}

.cw-species-contact__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  min-height: 54px;
  margin: 52px auto 0;
  border: 0;
  background: var(--cw-color-action);
  color: var(--cw-white);
  font-family: var(--font-body);
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .cw-species-panel__inner,
  .cw-species-modal__content {
    grid-template-columns: 1fr;
  }

  .cw-species-panel__inner {
    min-height: 0;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cw-species-panel__text h2 {
    margin-bottom: 34px;
  }

  .cw-species-panel__text div {
    max-width: 780px;
  }

  .cw-species-panel__media {
    width: min(760px, 100%);
    height: auto;
    min-height: 0;
    margin-top: 0;
    grid-template-rows: 260px 260px;
  }

  .cw-species-panel__image--1 {
    height: 340px;
  }

  .cw-species-panel__image--2,
  .cw-species-panel__image--3 {
    height: 260px;
  }

  .cw-species-resources__track,
  .cw-species-properties__grid {
    grid-template-columns: 1fr;
  }

  .cw-species-resources.has-slider .cw-species-resource {
    flex-basis: min(720px, 86vw);
  }

  .cw-species-modal__content {
    width: min(100%, calc(100vw - 180px));
  }
}

@media (min-width: 1181px) and (max-width: 1440px) {
  .cw-species-hero {
    min-height: 520px;
  }

  .cw-species-tabs__item {
    min-height: 78px;
    font-size: 20px;
  }

  .cw-species-panel__inner {
    grid-template-columns: minmax(0, 1fr) 500px;
    gap: 42px;
    min-height: 560px;
    padding-top: 64px;
  }

  .cw-species-panel__text h2 {
    margin-bottom: 52px;
    font-size: 52px;
  }

  .cw-species-panel__text div {
    font-size: 21px;
  }

  .cw-species-panel__media {
    grid-template-rows: 270px 270px;
    height: 560px;
    margin-top: -64px;
  }

  .cw-species-panel__image--1 {
    height: 340px;
  }

  .cw-species-panel__image--2,
  .cw-species-panel__image--3 {
    height: 270px;
  }

  .cw-species-resource {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .cw-species-modal__inner {
    padding-right: 32px;
    padding-left: 32px;
  }

  .cw-species-modal__content {
    width: 100%;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }

  .cw-species-modal__text {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .cw-species-hero {
    min-height: 430px;
  }

  .cw-species-tabs {
    display: flex;
    overflow-x: auto;
  }

  .cw-species-tabs__item {
    flex: 0 0 220px;
    font-size: 18px;
  }

  .cw-species-panel__inner {
    gap: 36px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .cw-species-panel__text h2,
  .cw-species-hero__caption h1,
  .cw-species-hero__caption h2 {
    font-size: 42px;
  }

  .cw-species-hero__caption {
    width: calc(100% - 120px);
  }

  .cw-species-hero__caption p {
    font-size: 22px;
  }

  .cw-species-panel__text h2 {
    margin-bottom: 28px;
  }

  .cw-species-panel__text div {
    font-size: 20px;
  }

  .cw-species-panel__image--1,
  .cw-species-panel__image--2,
  .cw-species-panel__image--3 {
    grid-column: auto;
    grid-row: auto;
    align-self: stretch;
    width: 100%;
    height: auto;
  }

  .cw-species-panel__media {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .cw-species-panel__image img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .cw-species-resource {
    grid-template-columns: 1fr;
  }

  .cw-species-resource__image {
    height: 260px;
    min-height: 0;
  }

  .cw-species-collection {
    flex-basis: min(420px, 82vw);
  }

  .cw-species-modal__inner {
    padding: 96px 72px 72px;
  }

  .cw-species-modal__media {
    height: min(54vh, 520px);
    min-height: 300px;
  }

  .cw-species-contact__intro h2 {
    font-size: 42px;
  }

  .cw-species-contact__intro .cw-container > div {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .cw-species-modal__inner {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 560px) {
  .cw-species-hero {
    min-height: 320px;
  }

  .cw-species-hero__caption {
    top: 54%;
    width: calc(100% - 72px);
  }

  .cw-species-hero__caption h1,
  .cw-species-hero__caption h2 {
    width: auto;
    max-width: min(250px, calc(100vw - 120px));
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(28px, 8.5vw, 34px);
    word-break: break-word;
  }

  .cw-species-hero__caption p {
    width: auto;
    max-width: min(250px, calc(100vw - 120px));
    margin-right: auto;
    margin-left: auto;
    margin-top: 9px;
    font-size: 17px;
    word-break: break-word;
  }

  .cw-species-hero__arrow {
    width: 38px;
  }

  .cw-species-hero__arrow--prev {
    left: 8px;
  }

  .cw-species-hero__arrow--next {
    right: 8px;
  }

  .cw-species-hero__arrow span {
    width: 20px;
    height: 20px;
  }

  .cw-species-tabs {
    margin-top: 20px;
  }

  .cw-species-tabs__item {
    flex-basis: 190px;
    min-height: 66px;
    padding: 10px 14px;
    font-size: 16px;
  }

  .cw-species-section-title {
    font-size: 28px;
  }

  .cw-species-panel__inner,
  .cw-species-characteristics,
  .cw-species-properties,
  .cw-species-resources,
  .cw-species-collections,
  .cw-species-contact__form {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .cw-species-panel__text h2 {
    font-size: 34px;
  }

  .cw-species-panel__text div {
    font-size: 18px;
    line-height: 1.42;
  }

  .cw-species-panel__media {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cw-species-panel__image img {
    aspect-ratio: 4 / 3;
  }

  .cw-species-characteristics__graphic,
  .cw-species-properties__grid,
  .cw-species-resources__viewport,
  .cw-species-collections__viewport {
    margin-top: 34px;
  }

  .cw-species-accordion__trigger {
    font-size: 18px;
    padding: 18px 20px;
  }

  .cw-species-accordion__panel {
    position: static;
    padding: 20px;
  }

  .cw-species-resource {
    padding: 24px;
  }

  .cw-species-resources.has-slider .cw-species-resource {
    flex-basis: 100%;
  }

  .cw-species-resource h3 {
    font-size: 20px;
  }

  .cw-species-resource__body div {
    font-size: 16px;
  }

  .cw-species-resource__button {
    width: 100%;
    min-height: 50px;
    font-size: 20px;
  }

  .cw-species-resource__button img {
    width: 28px;
    height: 28px;
  }

  .cw-species-contact__intro {
    padding: 42px 0 72px;
  }

  .cw-species-contact__intro h2 {
    font-size: 34px;
  }

  .cw-species-contact__fields {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .cw-species-contact__note {
    text-align: left;
    font-size: 16px;
  }

  .cw-species-contact__note-wrap {
    margin-top: -36px;
    min-height: 24px;
  }

  .cw-species-contact__submit {
    width: 100%;
  }

  .cw-species-modal__inner {
    padding: 86px 20px 64px;
  }

  .cw-species-modal__arrow {
    top: auto;
    bottom: 18px;
  }

  .cw-species-modal__arrow--prev {
    left: 24px;
  }

  .cw-species-modal__arrow--next {
    right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-species-hero__slide {
    transition-duration: 1ms;
  }

  .cw-species-resources__track,
  .cw-species-collections__track {
    scroll-behavior: auto;
  }
}

/* Species uses the same full-viewport hero height as Home and shared page sliders. */
.cw-species-hero {
  height: calc(100svh - var(--cw-site-header-height, 145px));
  min-height: 520px;
}

@media (max-width: 1024px) {
  .cw-species-hero {
    height: calc(100svh - var(--cw-site-header-height, 76px));
    min-height: 430px;
  }
}

@media (max-width: 560px) {
  .cw-species-hero {
    height: calc(100svh - var(--cw-site-header-height, 68px));
    min-height: 360px;
  }
}

/* Species captions use the exact Home hero title typography. */
.cw-species-hero__caption {
  width: min(820px, calc(100% - 180px));
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.cw-species-hero__caption h1,
.cw-species-hero__caption h2 {
  width: 100%;
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.18;
}

.cw-species-hero__caption p {
  max-width: 820px;
  margin: 14px auto 0;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.18;
}

@media (max-width: 1439px) {
  .cw-species-hero__caption {
    width: min(760px, calc(100% - 180px));
  }

  .cw-species-hero__caption h1,
  .cw-species-hero__caption h2 {
    max-width: 760px;
    font-size: 56px;
  }
}

@media (max-width: 1199px) {
  .cw-species-hero__caption h1,
  .cw-species-hero__caption h2 {
    font-size: 48px;
  }

  .cw-species-hero__caption p {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .cw-species-hero__caption {
    width: min(620px, calc(100% - 108px));
  }

  .cw-species-hero__caption h1,
  .cw-species-hero__caption h2 {
    max-width: min(620px, calc(100vw - 108px));
    font-size: 34px;
    line-height: 1.15;
  }

  .cw-species-hero__caption p {
    max-width: min(620px, calc(100vw - 108px));
    font-size: 17px;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .cw-species-hero__caption {
    width: min(298px, calc(100% - 92px));
  }

  .cw-species-hero__caption h1,
  .cw-species-hero__caption h2,
  .cw-species-hero__caption p {
    width: 100%;
    max-width: min(298px, calc(100vw - 92px));
  }

  .cw-species-hero__caption h1,
  .cw-species-hero__caption h2 {
    font-size: 29px;
  }
}

@media (max-width: 380px) {
  .cw-species-hero__caption h1,
  .cw-species-hero__caption h2 {
    font-size: 26px;
  }
}

/* Species v11: compact two-sample overview panel. */
.cw-species-panel__inner {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(48px, 6vw, 96px);
  min-height: 440px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.cw-species-panel__text h2 {
  margin-bottom: 48px;
}

.cw-species-panel__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 290px;
  gap: 8px;
  width: 100%;
  height: 290px;
  margin: 0;
  align-self: center;
}

.cw-species-panel__image,
.cw-species-panel__image--1,
.cw-species-panel__image--2,
.cw-species-panel__image--3 {
  grid-column: auto;
  grid-row: auto;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  height: 100%;
}

/* Species v11: editable characteristic rows replace the legacy artwork. */
.cw-species-characteristics {
  padding: 88px 0 72px;
}

.cw-species-characteristics__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 72px;
}

.cw-species-characteristics__column {
  display: grid;
  grid-auto-rows: 88px;
  align-content: start;
  gap: 8px;
}

.cw-species-characteristic {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  align-items: stretch;
  min-height: 88px;
  background: var(--cw-color-surface-warm);
}

.cw-species-characteristic h3,
.cw-species-characteristic p {
  margin: 0;
  color: var(--cw-text);
  font-family: var(--font-body);
  line-height: 1.3;
}

.cw-species-characteristic h3 {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 0 8px 8px 0;
  background: #ece7e2;
  font-size: 23px;
  font-weight: 700;
  line-height: 29px;
}

.cw-species-characteristic p {
  display: flex;
  align-items: center;
  padding: 14px 28px;
  font-size: 20px;
  font-weight: 400;
}

/* New approved caption treatment shared with all website hero sliders. */
.cw-species-hero__caption {
  width: min(1500px, calc(100% - 180px));
}

.cw-species-hero__caption h1,
.cw-species-hero__caption h2 {
  max-width: 1400px;
  font-size: clamp(58px, 5vw, 96px);
  font-weight: 700;
  line-height: 1.04;
}

.cw-species-hero__caption p {
  max-width: 1500px;
  margin-top: 12px;
  font-size: clamp(28px, 2.8vw, 54px);
  line-height: 1.12;
}

@media (min-width: 1025px) {
  .cw-species-hero__caption h1,
  .cw-species-hero__caption h2 {
    font-size: clamp(46px, 4vw, 77px);
  }
}

@media (max-width: 1180px) {
  .cw-species-panel__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cw-species-panel__media {
    width: min(720px, 100%);
  }

  .cw-species-characteristic {
    grid-template-columns: minmax(135px, 0.9fr) minmax(0, 1.1fr);
  }
}

@media (max-width: 767px) {
  .cw-species-hero__caption {
    width: min(640px, calc(100% - 88px));
  }

  .cw-species-hero__caption h1,
  .cw-species-hero__caption h2 {
    max-width: 640px;
    font-size: clamp(34px, 9vw, 46px);
  }

  .cw-species-hero__caption p {
    max-width: 640px;
    font-size: clamp(18px, 4.8vw, 25px);
  }

  .cw-species-panel__inner {
    gap: 40px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .cw-species-panel__media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: clamp(180px, 44vw, 280px);
    height: auto;
  }

  .cw-species-characteristics__grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 38px;
  }

  .cw-species-characteristics__column {
    grid-auto-rows: 86px;
  }

  .cw-species-characteristic {
    grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.15fr);
    gap: 0;
    min-height: 86px;
  }

  .cw-species-characteristic h3,
  .cw-species-characteristic p {
    padding: 14px 18px;
  }

  .cw-species-characteristic h3 {
    font-size: 23px;
    line-height: 29px;
  }

  .cw-species-characteristic p {
    font-size: 18px;
  }

  .cw-species-collections__viewport > .cw-species-arrow--prev {
    left: 2px;
  }

  .cw-species-collections__viewport > .cw-species-arrow--next {
    right: 2px;
  }
}

@media (max-width: 560px) {
  .cw-species-characteristics__column {
    grid-auto-rows: auto;
  }

  .cw-species-characteristic {
    min-height: 0;
  }

  .cw-species-characteristic h3 {
    font-size: 17px;
    line-height: 21px;
  }
}

@media (max-width: 480px) {
  .cw-species-hero__caption {
    width: calc(100% - 76px);
  }

  .cw-species-hero__caption h1,
  .cw-species-hero__caption h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .cw-species-hero__caption p {
    font-size: clamp(17px, 5vw, 22px);
  }

  .cw-species-panel__media {
    grid-template-columns: 1fr 1fr;
  }

  .cw-species-characteristic {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cw-species-characteristic h3 {
    border-radius: 0;
  }

  .cw-species-characteristic p {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
