.development-history-page {
  background: #fff;
  margin-top: 40px;
}

.development-history-block--hero{
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.development-history-block--dream,
.development-history-block--timeline {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  box-sizing: border-box;
}

.development-history-block--hero .container{
  width: min( calc(100% - 240px));
  }
.development-history-block--dream .container,
.development-history-block--timeline .container {
  width: 100%;
}

.development-history-page a,
.development-history-gallery__filters button,
.development-history-hero__switch,
.development-history-hero__thumb,
.development-history-gallery__item {
  cursor: pointer;
}

.development-history-page [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.development-history-page [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.development-history-block--dream {
  background: #ffffff;
  padding: 30px 0 30px;
}

.development-history-section-title__inner,
.development-history-hero-title__inner {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.development-history-section-title__heading .nsw-section-title__text {
  font-size: clamp(38px, 3.2vw, 52px);
}



.development-history-hero {
  position: relative;
  background: #fff;
  display: grid;
  grid-template-columns:
    minmax(32px, 1fr)
    minmax(0, 560px)
    clamp(28px, 4vw, 72px)
    minmax(420px, 820px)
    minmax(32px, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  padding: 56px 0 72px;
  --development-history-hero-line-height: 41.145833vw;
  --development-history-hero-switcher-line-top: -214px;
}

.development-history-hero__backgrounds {
  position: relative;
  grid-column: 4;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 5/3;
  overflow: hidden;
  background: #f5f7f8;
}

.development-history-hero__background,
.development-history-hero__background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.development-history-hero__background {
  opacity: 1;
}

.development-history-hero__background img {
  object-fit: cover;
}

.development-history-hero__overlay {
  display: none;
}

.development-history-hero__content {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  z-index: 2;
  width: auto;
  margin: 0;
  padding-top: 0;
  display: block;
  color: #111;
}

.development-history-hero .development-history-hero__content {
  width: auto;
  max-width: none;
}

.development-history-hero__panel {
  display: none;
}

.development-history-hero__panel.is-active {
  display: block;
  animation: developmentHistoryFade 0.45s ease;
}

.development-history-hero__panel h2 {
  margin: 0;
  font-size: clamp(44px, 4.1vw, 48px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #111;
}

.development-history-hero__panel p {
  margin: 20px 0 0;
  max-width: none;
  font-size: 16px;
  line-height: 1.82;
  color: #262626;
}

.development-history-hero__panel p:first-of-type {
  margin-top: 50px;
  font-size: 18px;
  line-height: 1.55;
}

.development-history-hero__switcher {
  position: relative;
  margin: 34px 0 0;
  width: 100%;
  padding: 0 0 0 18px;
  list-style: none;
  border-left: 1px solid rgba(17, 17, 17, 0.22);
}

.development-history-hero__switcher::after {
  display: none;
}

.development-history-hero__switcher li {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.development-history-hero__switcher li + li {
  margin-top: 10px;
}

.development-history-hero__switch {
  position: relative;
  display: block;
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #262626;
  font: inherit;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 400;
  line-height: 1.58;
  text-align: left;
  transition: color 0.26s ease, transform 0.26s ease;
}

.development-history-hero__switch::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -24px;
  right: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9a9a9a;
  transform: translateY(-50%);
  transition: background 0.26s ease, box-shadow 0.26s ease;
}

.development-history-hero__switch.is-active {
  color: #111;
  font-weight: 600;
}

.development-history-hero__switch.is-active::before {
  background: #2a9de7;
  box-shadow: 0 0 0 4px rgba(42, 157, 231, 0.25);
}

.development-history-hero__switch:hover,
.development-history-hero__switch:focus-visible {
  color: #111;
  transform: translateX(2px);
}

.development-history-hero .development-history-hero__thumbs {
  position: relative;
  grid-column: 4;
  grid-row: 2;
  right: auto;
  bottom: auto;
  z-index: 2;
  width: 100%;
  margin-top: 18px;
  display: flex;
  gap: 0;
  border-bottom: 1px solid #d5d5d5;
}

.development-history-hero__thumb {
  position: relative;
  flex: 1 1 0;
  aspect-ratio: 5 / 3;
  appearance: none;
  border: unset;
  border-right-width: 0;
  background: transparent;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: filter 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.development-history-hero__thumb:last-child {
  border-right-width: 1px;
}

.development-history-hero__thumb::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;
  height: 4px;
  background: #2a9de7;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.26s ease;
}

.development-history-hero__thumb.is-active {
  border-color: rgba(255, 255, 255, 0.92);
  filter: brightness(1.03);
}

.development-history-hero__thumb.is-active::after {
  transform: scaleX(1);
}

.development-history-hero__thumb:hover,
.development-history-hero__thumb:focus-visible {
  border-color: rgba(255, 255, 255, 0.95);
  filter: brightness(1.08);
}

.development-history-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.development-history-hero__thumb:hover img,
.development-history-hero__thumb:focus-visible img,
.development-history-hero__thumb.is-active img {
  /*transform: scale(1.03);*/
}

@keyframes developmentHistoryFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.development-history-intro {
  padding-top: 42px;
  padding-bottom: 22px;
}

.development-history-block--dream .development-history-intro {
  padding-top: 14px;
  padding-bottom: 14px;
}

.development-history-block--dream .development-history-intro p {
  color: #195F7A;
  font-size: 20px;
  line-height: 1.6;
  margin: 30px auto 0;
  text-align: justify;
}

.development-history-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.development-history-heading span {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9d8d6c, transparent);
}

.development-history-heading h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 500;
  color: #4a443f;
  letter-spacing: 0.08em;
}



.development-history-quote {
  padding: 44px 0 44px;
}

.development-history-quote__inner {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  gap: 0;
  align-items: end;
}

.development-history-quote__portrait {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.development-history-quote__portrait p {
  grid-column: 1;
  margin: 0;
  color: #044173;
  font-size: 17px;
  line-height: 1.38;
  font-weight: 700;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.08em;
}

.development-history-quote__portrait img {
  grid-column: 2;
  justify-self: start;
  width: min(100%, 640px);
  height: auto;
  object-fit: contain;
  object-position: left bottom;
}

.development-history-quote__card {
  position: relative;
  background: #227bb3;
  border-radius: 18px;
  padding: 70px 46px 34px;
  color: #fff;
  box-shadow: none;
  overflow: hidden;
  height: 100%;
}

.development-history-quote__mark {
  position: absolute;
  top: 8px;
  left: 34px;
  font-size: 98px;
  line-height: 1;
  color: rgba(155, 214, 244, 0.8);
  font-weight: 700;
}

.development-history-quote__text {
  position: relative;
  z-index: 1;
}

.development-history-quote__text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.96);
  text-align: justify;
}

.development-history-quote__text p + p {
  margin-top: 30px;
}

.development-history-quote__footer {
  position: relative;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 2px solid rgba(173, 220, 245, 0.9);
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/*.development-history-quote__footer::before {*/
/*  content: '';*/
/*  position: absolute;*/
/*  left: 0;*/
/*  top: 100%;*/
/*  width: 72px;*/
/*  border-top: 2px solid rgba(173, 220, 245, 0.9);*/
/*}*/

/*.development-history-quote__footer::after {*/
/*  content: '';*/
/*  position: absolute;*/
/*  right: 0;*/
/*  top: 100%;*/
/*  width: 58px;*/
/*  height: 44px;*/
/*  border-top: 2px solid rgba(173, 220, 245, 0.9);*/
/*  border-right: 2px solid rgba(173, 220, 245, 0.9);*/
/*}*/

.development-history-quote__card::after {
  content: '”';
  position: absolute;
  right: 22px;
  bottom: -10px;
  font-size: 220px;
  line-height: 1;
  color: rgba(152, 205, 233, 0.28);
  font-weight: 700;
}

.development-history-gallery {
  padding-top: 20px;
  padding-bottom: 76px;
}

.development-history-heading--compact {
  margin-bottom: 16px;
}

.development-history-gallery__filters {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.development-history-gallery__filters button {
  appearance: none;
  font: inherit;
  padding: 10px 34px;
  border-radius: 999px;
  border: 1px solid #1678B3;
  color: #1678B3;
  font-size: 16px;
  line-height: 1.3;
  background: #ffffff;
  transition: transform 0.26s ease, box-shadow 0.26s ease, color 0.26s ease, background 0.26s ease, border-color 0.26s ease;
}

.development-history-gallery__filters button:hover,
.development-history-gallery__filters button:focus-visible {
  transform: translateY(-2px);
  border-color: #63b2e5;
  box-shadow: 0 8px 14px rgba(31, 121, 184, 0.16);
}

.development-history-gallery__filters button.is-active {
  color: #fff;
  border-color: #258ed3;
  background: #1678B3;
}

.development-history-gallery__grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.development-history-gallery__item {
  margin: 0;
  aspect-ratio: 1.38;
  overflow: hidden;
  cursor: pointer;
  border-radius: 14px !important;
  clip-path: inset(0 round 14px);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.development-history-gallery__item[hidden] {
  display: none;
}

.development-history-gallery__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  min-height: 220px;
  color: #7c8896;
  font-size: 16px;
  text-align: center;
}

.development-history-gallery__item:hover,
.development-history-gallery__item:focus-within,
.development-history-gallery__item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 18px rgba(19, 64, 102, 0.24);
}

.development-history-gallery__item:focus-visible {
  outline: 2px solid #1678B3;
  outline-offset: 3px;
}

.development-history-gallery__item > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 14px !important;
  transition: transform 0.35s ease;
}

.development-history-gallery__item:hover img,
.development-history-gallery__item:focus-within img,
.development-history-gallery__item:focus-visible img {
  transform: scale(1.05);
}

@media (min-width: 1200px) {
  .development-history-hero__panel p {
    max-width: 655px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .development-history-section-title__inner,
  .development-history-hero-title__inner {
    min-height: 104px;
  }

  .development-history-section-title__heading .nsw-section-title__text {
    font-size: 42px;
  }



  .development-history-hero {
    grid-template-columns:
      26px
      minmax(0, 42%)
      24px
      minmax(300px, 1fr)
      26px;
    padding: 42px 0 56px;
  }

  .development-history-hero .development-history-hero__content {
    width: auto;
    padding-top: 0;
    display: block;
  }

  .development-history-hero__panel h2 {
    font-size: 28px;
  }

  .development-history-hero__panel p {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.78;
  }

  .development-history-hero__panel p:first-of-type {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.58;
  }

  .development-history-hero__switcher {
    margin-top: 26px;
    padding: 0 0 0 16px;
  }

  .development-history-hero__switch {
    font-size: 16px;
  }

  .development-history-hero__switch::before {
    left: -20px;
    right: auto;
    width: 7px;
    height: 7px;
  }

  .development-history-hero .development-history-hero__thumbs {
    width: 100%;
    margin-top: 14px;
  }

  .development-history-heading h2 {
    font-size: 28px;
  }

  .development-history-block--dream .development-history-intro p {
    font-size: 16px;
    line-height: 1.86;
  }

  .development-history-quote__inner {
    grid-template-columns: minmax(0, 38%) minmax(0, 62%);
    gap: 6px;
  }

  .development-history-quote__portrait {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .development-history-quote__portrait p {
    font-size: 15px;
  }



  .development-history-quote__card {
    border-radius: 14px;
    padding: 30px 26px 24px;
  }

  .development-history-quote__mark {
    left: 24px;
    font-size: 74px;
  }

  .development-history-quote__text p {
    font-size: 14px;
    line-height: 1.65;
  }

  .development-history-quote__footer {
    margin-top: 20px;
    padding-top: 16px;
    font-size: 14px;
  }

  .development-history-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
}

@media (max-width: 767px) {
  .development-history-block--dream,
  .development-history-block--timeline {
    padding-inline: 14px;
  }

  .development-history-section-title__inner,
  .development-history-hero-title__inner {
    min-height: 88px;
  }

  .development-history-section-title__heading {
    gap: 10px;
  }

  .development-history-section-title__heading .nsw-section-title__text {
    font-size: 28px;
    letter-spacing: 0.08em;
  }

  .development-history-hero {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) 14px;
    grid-template-rows: auto auto;
    padding: 24px 0 36px;
  }

  .development-history-hero__backgrounds {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    aspect-ratio: 5/3;
    margin-top: 18px;
  }

  .development-history-hero__overlay {
    display: none;
  }

  .development-history-hero__background {
    display: none;
  }

  .development-history-hero__mobile-track {
    display: flex;
    height: 100%;
    touch-action: pan-y;
    transition: transform 0.5s ease;
    will-change: transform;
  }

  .development-history-hero__mobile-slide {
    flex: 0 0 100%;
    height: 100%;
  }

  .development-history-hero__mobile-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .development-history-hero .development-history-hero__content {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 0;
    padding-top: 0;
    display: block;
    color: #111;
  }

  .development-history-hero__panel h2 {
    font-size: 22px;
    color: #111;
    text-align: left;
  }

  .development-history-hero__panel p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.72;
    color: #262626;
  }

  .development-history-hero__panel p:first-of-type {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #262626;
  }

  .development-history-hero__switcher {
    margin: 20px 0 0;
    padding: 0 0 0 14px;
    border-right: 0;
    border-left: 1px solid rgba(17, 17, 17, 0.22);
  }

  .development-history-hero__switcher::after {
    display: none;
  }

  .development-history-hero__switcher li + li {
    margin-top: 8px;
  }

  .development-history-hero__switch {
    font-size: 16px;
    text-align: left;
    color: #262626;
  }

  .development-history-hero__switch.is-active,
  .development-history-hero__switch:hover,
  .development-history-hero__switch:focus-visible {
    color: #111;
  }

  .development-history-hero__switch::before {
    left: -18px;
    right: auto;
    width: 8px;
    height: 8px;
    background: #7e9bb7;
  }

  .development-history-hero__switch.is-active::before {
    background: #2a9de7;
  }

  .development-history-hero .development-history-hero__thumbs {
    display: none;
  }

  .development-history-heading {
    gap: 10px;
    margin-bottom: 14px;
  }

  .development-history-heading span {
    width: 34px;
  }

  .development-history-heading h2 {
    font-size: 22px;
  }

  .development-history-intro {
    padding-top: 30px;
    padding-bottom: 12px;
  }

  .development-history-block--dream .development-history-intro p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.72;
  }

  .development-history-quote {
    padding-top: 8px;
    padding-bottom: 30px;
  }

  .development-history-quote__inner {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
  }

  .development-history-quote__portrait {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    align-items: end;
  }

  .development-history-quote__portrait p {
    margin: 0;
    font-size: 13px;
  }

  .development-history-quote__portrait img {
    width: 100%;
    max-width: 190px;
  }

  .development-history-quote__card {
    border-radius: 10px;
    padding: 22px 16px 18px;
  }

  .development-history-quote__mark {
    left: 12px;
    top: 4px;
    font-size: 54px;
  }

  .development-history-quote__text p {
    font-size: 13px;
    line-height: 1.7;
  }

  .development-history-quote__text p + p {
    margin-top: 12px;
  }

  .development-history-quote__footer {
    margin-top: 14px;
    padding-top: 12px;
    font-size: 13px;
  }

  .development-history-quote__footer::before {
    width: 44px;
  }

  .development-history-quote__footer::after {
    width: 34px;
    height: 24px;
  }

  .development-history-quote__card::after {
    right: 8px;
    font-size: 138px;
  }

  .development-history-gallery {
    padding-top: 8px;
    padding-bottom: 52px;
  }

  .development-history-gallery__filters {
    justify-content: flex-start;
    gap: 6px;
  }

  .development-history-gallery__filters button {
    padding: 4px 10px;
    font-size: 11px;
  }

  .development-history-gallery__grid {
    margin-top: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .development-history-page [data-reveal],
  .development-history-hero__background,
  .development-history-hero__panel,
  .development-history-hero__switch,
  .development-history-hero__thumb,
  .development-history-hero__thumb img,
  .development-history-gallery__filters button,
  .development-history-gallery__item,
  .development-history-gallery__grid img,
  .development-history-quote__card {
    transition: none;
    animation: none;
    transform: none;
  }
}
