.about-story {
  padding: clamp(84px, 8vw, 132px) 0 clamp(96px, 9vw, 150px);
  overflow: hidden;
  background-image: url("../img/resource/bg-3.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(62px, 7vw, 118px);
  align-items: center;
}

.about-story__visual {
  min-width: 0;
}

.about-story .editorial-image {
  width: 100%;
  max-width: 610px;
  min-height: 650px;
  padding-right: 70px;
}

.about-story .editorial-image > img:first-child {
  width: 100%;
  height: 650px;
  aspect-ratio: auto;
  object-fit: cover;
}

.about-story .editorial-image .img-shappe-about-1 {
  right: 0;
  bottom: -42px;
  width: 57%;
  height: 355px;
  aspect-ratio: auto;
  object-fit: cover;
  border: 8px solid #fff;
  box-shadow: 0 24px 55px rgba(15, 40, 42, 0.18);
}

.about-story__material-note {
  position: absolute;
  left: -24px;
  bottom: 38px;
  color: #fff;
  background: var(--color-ink);
  padding: 14px 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.about-story__content {
  min-width: 0;
}

.about-story__content > h2 {
  position: relative;
  margin: 0 0 30px;
  padding-left: 28px;
  max-width: 720px;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(42px, 4.15vw, 68px);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.about-story__content > h2::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 5px;
  left: 0;
  width: 5px;
  background: var(--color-accent);
}

.about-story__content > h2 em {
  display: block;
  margin-top: 8px;
  color: var(--color-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.83em;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.about-story__lead,
.about-story__intro {
  max-width: 710px;
  color: #53615d;
  font-size: 16px;
  line-height: 1.75;
}

.about-story__lead {
  margin-bottom: 12px;
}

.about-story__intro {
  margin-bottom: 34px;
}

.about-tabs {
  max-width: 740px;
}

.about-tabs__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #d9d6cf;
}

.about-tabs__tab {
  position: relative;
  min-height: 66px;
  border: 0;
  border-right: 1px solid #dedbd5;
  background: #f4f2ee;
  color: #33413d;
  padding: 14px 18px;
  font: 700 14px/1.25 var(--font-display);
  transition: color 180ms ease, background 180ms ease;
}

.about-tabs__tab:last-child {
  border-right: 0;
}

.about-tabs__tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.about-tabs__tab:hover {
  background: #ece8e1;
}

.about-tabs__tab:focus-visible {
  z-index: 1;
  outline: 3px solid rgba(165, 105, 66, 0.35);
  outline-offset: 2px;
}

.about-tabs__tab.is-active {
  color: #fff;
  background: var(--color-accent);
}

.about-tabs__tab.is-active::after {
  transform: scaleX(1);
}

.about-tabs__panel {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  min-height: 176px;
  padding: 28px 0 0;
  animation: about-panel-in 260ms ease both;
}

.about-tabs__panel[hidden] {
  display: none;
}

.about-tabs__number {
  color: var(--color-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.about-tabs__panel h3 {
  margin: 0 0 10px;
  color: var(--color-ink);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.about-tabs__panel p {
  max-width: 610px;
  margin: 0;
  color: #56645f;
  font-size: 15px;
  line-height: 1.75;
}

@keyframes about-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-quote {
  padding: clamp(88px, 8vw, 132px) 0;
  background: #fff;
}

.about-quote__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
  gap: clamp(54px, 7vw, 112px);
  align-items: center;
}

.about-quote__reasons > h2,
.about-quote__panel > h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -0.04em;
}

.about-quote__reasons > h2 {
  color: var(--color-ink);
  font-size: clamp(42px, 4.2vw, 66px);
  line-height: 1;
}

.about-quote__reasons > h2::before,
.about-quote__panel > h2::before {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-bottom: 28px;
  background: var(--color-accent);
}

.about-quote__lead {
  margin: 16px 0 34px;
  color: #4d5d58;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 28px);
  font-style: italic;
  line-height: 1.4;
}

.about-quote__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9dfdd;
}

.about-quote__list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 84px;
  border-bottom: 1px solid #d9dfdd;
}

.about-quote__list li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-accent);
  background: #eaf1f5;
}

.about-quote__list svg {
  width: 23px;
  height: 23px;
}

.about-quote__list strong {
  color: var(--color-ink);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.about-quote__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(42px, 4.5vw, 66px);
  color: #fff;
  background-color: var(--color-ink);
  background-image: linear-gradient(rgba(29, 45, 53, 0.93), rgba(29, 45, 53, 0.97)), url("../img/home/cfs-flake-detail.jpg");
  background-size: cover;
  background-position: center;
}

.about-quote__panel > h2 {
  position: relative;
  z-index: 1;
  max-width: 560px;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.08;
}

.about-quote__form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.about-quote__field {
  position: relative;
}

.about-quote__field label {
  position: absolute;
  top: 11px;
  left: 16px;
  z-index: 1;
  margin: 0;
  color: #6b7774;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.about-quote__field input,
.about-quote__field select,
.about-quote__field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--color-ink);
  font: 600 14px/1.45 var(--font-body);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.about-quote__field input,
.about-quote__field select {
  height: 67px;
  padding: 28px 16px 9px;
}

.about-quote__field textarea {
  min-height: 142px;
  resize: vertical;
  padding: 31px 16px 14px;
}

.about-quote__field select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231d2d35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.about-quote__field input:focus,
.about-quote__field select:focus,
.about-quote__field textarea:focus {
  border-color: #75b3d4;
  box-shadow: 0 0 0 3px rgba(117, 179, 212, 0.22);
}

.about-quote__field--message,
.about-quote__button {
  grid-column: 1 / -1;
}

.about-quote__button {
  display: inline-flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 16px 24px;
  font: 800 15px/1 var(--font-display);
  transition: background 180ms ease, transform 180ms ease;
}

.about-quote__button svg {
  width: 22px;
  height: 22px;
}

.about-quote__button:hover {
  background: #3f81a8;
  transform: translateY(-2px);
}

.about-quote__button:focus-visible {
  outline: 3px solid #9bcbe4;
  outline-offset: 3px;
}

.about-quote__note {
  position: relative;
  z-index: 1;
  max-width: 570px;
  margin: 18px 0 0;
  color: #c7d4d7;
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 1199.98px) {
  .about-story__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
    gap: 54px;
  }

  .about-story .editorial-image {
    min-height: 570px;
    padding-right: 50px;
  }

  .about-story .editorial-image > img:first-child {
    height: 570px;
  }

  .about-story .editorial-image .img-shappe-about-1 {
    height: 300px;
  }
}

@media (max-width: 991.98px) {
  .about-story {
    padding-top: 78px;
  }

  .about-story__layout {
    grid-template-columns: 1fr;
    gap: 96px;
  }

  .about-story__visual {
    max-width: 670px;
  }

  .about-story .editorial-image {
    min-height: 600px;
  }

  .about-story .editorial-image > img:first-child {
    height: 600px;
  }

  .about-story__content > h2 {
    max-width: 760px;
  }

  .about-tabs {
    max-width: none;
  }

  .about-quote__layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .about-quote__reasons,
  .about-quote__panel {
    max-width: 760px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .about-story {
    padding: 60px 0 82px;
  }

  .about-story__layout {
    gap: 78px;
  }

  .about-story .editorial-image {
    min-height: 430px;
    padding-right: 24px;
  }

  .about-story .editorial-image > img:first-child {
    height: 430px;
  }

  .about-story .editorial-image .img-shappe-about-1 {
    right: -5px;
    bottom: -34px;
    width: 62%;
    height: 214px;
    border-width: 5px;
  }

  .about-story__material-note {
    left: -8px;
    bottom: 16px;
    padding: 12px 10px;
    font-size: 8px;
  }

  .about-story__content > h2 {
    padding-left: 18px;
    font-size: clamp(35px, 10vw, 44px);
  }

  .about-story__content > h2::before {
    width: 4px;
  }

  .about-story__lead,
  .about-story__intro {
    font-size: 15px;
    line-height: 1.7;
  }

  .about-tabs__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-tabs__tab {
    min-width: 0;
    min-height: 64px;
    padding: 10px 6px;
    font-size: 11.5px;
  }

  .about-tabs__panel {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    min-height: 210px;
    padding-top: 25px;
  }

  .about-tabs__number {
    font-size: 25px;
  }

  .about-tabs__panel h3 {
    font-size: 19px;
  }

  .about-tabs__panel p {
    font-size: 14px;
  }

  .about-quote {
    padding: 70px 0;
  }

  .about-quote__reasons > h2 {
    font-size: 41px;
  }

  .about-quote__lead {
    font-size: 20px;
  }

  .about-quote__list li {
    grid-template-columns: 44px 1fr;
    gap: 13px;
    min-height: 74px;
  }

  .about-quote__list li > span {
    width: 40px;
    height: 40px;
  }

  .about-quote__list strong {
    font-size: 15px;
  }

  .about-quote__panel {
    padding: 38px 22px;
  }

  .about-quote__panel > h2 {
    font-size: 34px;
  }

  .about-quote__form {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 30px;
  }

  .about-quote__field--message,
  .about-quote__button {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-tabs__tab,
  .about-tabs__tab::after,
  .about-tabs__panel {
    animation: none;
    transition: none;
  }
}
