.about-page,
.about-page * {
  box-sizing: border-box;
}

.about-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 76px;
  color: #172235;
}

.about-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #1565c0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.72fr);
  gap: 44px;
  align-items: center;
  padding: 34px 0 52px;
  border-bottom: 1px solid #e1e6ed;
}

.about-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #111827;
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.about-hero__lead {
  max-width: 820px;
  margin: 26px 0 0;
  color: #4b5563;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.72;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-actions--centered {
  justify-content: center;
}

.about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.94rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.about-button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.about-button--primary {
  border-color: #0d47a1;
  background: #0d47a1;
  color: #fff;
  box-shadow: 0 9px 20px rgba(13, 71, 161, 0.14);
}

.about-button--primary:hover {
  background: #0b3f91;
  color: #fff;
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.2);
}

.about-button--secondary {
  border-color: #d7dee8;
  background: #fff;
  color: #233044;
}

.about-button--secondary:hover {
  border-color: #aebaca;
  background: #f8fafc;
  color: #111827;
}

.about-mission {
  position: relative;
  overflow: hidden;
  padding: 27px;
  border: 1px solid #dbe5f1;
  border-radius: 18px;
  background: linear-gradient(145deg, #f5f9ff 0%, #fff 68%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.about-mission::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 5px;
  background: #1565c0;
  content: "";
}

.about-mission__label {
  color: #1565c0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-mission > p {
  margin: 14px 0 22px;
  color: #172235;
  font-size: clamp(1.32rem, 2.3vw, 1.72rem);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.022em;
}

.about-mission__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-mission__topics span {
  padding: 6px 10px;
  border: 1px solid #d6e3f3;
  border-radius: 999px;
  background: #fff;
  color: #32455f;
  font-size: 0.82rem;
  font-weight: 700;
}

.about-section {
  padding-top: 64px;
}

.about-section__header {
  max-width: 830px;
  margin-bottom: 28px;
}

.about-section__header--narrow {
  max-width: 900px;
}

.about-section__header h2,
.about-thesis h2,
.about-author h2,
.about-cta h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 3.9vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
}

.about-section__header > p,
.about-section__header--narrow > p {
  margin: 16px 0 0;
  color: #5b6677;
  font-size: 1.06rem;
  line-height: 1.75;
}

.about-books {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.about-book {
  display: grid;
  grid-template-columns: minmax(138px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-height: 100%;
  padding: 22px;
  border: 1px solid #e1e6ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.about-book__cover .book-cover {
  margin: 0;
}

.about-book__cover .book-cover a {
  display: block;
}

.about-book__cover .book-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.about-book__label {
  display: inline-block;
  margin-bottom: 8px;
  color: #1565c0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-book h3 {
  margin: 0;
  color: #172235;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
}

.about-book h3 a {
  color: inherit;
  text-decoration: none;
}

.about-book h3 a:hover {
  color: #0d47a1;
}

.about-book__subtitle {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

.about-book__question {
  margin: 19px 0 0;
  color: #24344b;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.48;
}

.about-book__description {
  margin: 12px 0 0;
  color: #606b7c;
  font-size: 0.94rem;
  line-height: 1.65;
}

.about-book__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: 17px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 650;
}

.about-book__body > .about-button {
  margin-top: 18px;
}

.about-domains {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.about-domain,
.about-method {
  padding: 22px;
  border: 1px solid #e1e6ed;
  border-radius: 16px;
  background: #fff;
}

.about-domain__number,
.about-method > span {
  color: #1565c0;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.about-domain h3,
.about-method h3 {
  margin: 20px 0 8px;
  color: #172235;
  font-size: 1.08rem;
  line-height: 1.25;
}

.about-domain p,
.about-method p {
  margin: 0;
  color: #657084;
  font-size: 0.91rem;
  line-height: 1.62;
}

.about-thesis {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
  margin-top: 68px;
  padding: 42px;
  border: 1px solid #dce5ef;
  border-radius: 18px;
  background: #f7f9fc;
}

.about-thesis__label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-thesis__line {
  display: block;
  width: 100%;
  height: 1px;
  background: #cbd7e6;
}

.about-thesis__copy p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #586578;
  font-size: 1.04rem;
  line-height: 1.75;
}

.about-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-method {
  position: relative;
  min-height: 220px;
}

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

.about-library > a {
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 21px;
  border: 1px solid #e1e6ed;
  border-radius: 16px;
  background: #fff;
  color: #172235;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.about-library > a:hover {
  transform: translateY(-2px);
  border-color: #b8c9dd;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  text-decoration: none;
}

.about-library span {
  color: #1565c0;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-library strong {
  margin-top: 18px;
  color: #27364c;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.48;
}

.about-library em {
  margin-top: auto;
  padding-top: 20px;
  color: #0d47a1;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 800;
}

.about-author {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-top: 68px;
  padding: 34px;
  border: 1px solid #e1e6ed;
  border-radius: 18px;
  background: #fff;
}

.about-author__portrait img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.about-author__copy > p {
  max-width: 790px;
  margin: 16px 0 0;
  color: #5d697c;
  font-size: 1.02rem;
  line-height: 1.72;
}

.about-author blockquote {
  max-width: 800px;
  margin: 21px 0 0;
  padding: 0 0 0 18px;
  border-left: 3px solid #1565c0;
  color: #27364c;
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.6;
}

.about-cta {
  margin-top: 68px;
  padding: 48px 28px;
  border: 1px solid #dce5ef;
  border-radius: 20px;
  background: linear-gradient(150deg, #f3f7fc 0%, #fff 78%);
  text-align: center;
}

.about-cta > p {
  max-width: 720px;
  margin: 18px auto 0;
  color: #5c687a;
  font-size: 1.03rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-mission {
    max-width: 720px;
  }

  .about-books {
    grid-template-columns: 1fr;
  }

  .about-domains,
  .about-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-library {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .about-page {
    width: min(100% - 22px, 1180px);
    padding-top: 18px;
  }

  .about-hero {
    gap: 28px;
    padding: 24px 0 40px;
  }

  .about-hero h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .about-section {
    padding-top: 50px;
  }

  .about-book {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    padding: 17px;
  }

  .about-thesis {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 52px;
    padding: 27px 22px;
  }

  .about-domains,
  .about-methods,
  .about-library {
    grid-template-columns: 1fr;
  }

  .about-method {
    min-height: 0;
  }

  .about-author {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 52px;
    padding: 26px 22px;
  }

  .about-author__portrait img {
    width: 112px;
    height: 112px;
  }

  .about-cta {
    margin-top: 52px;
    padding: 38px 20px;
  }
}

@media (max-width: 500px) {
  .about-book {
    grid-template-columns: 1fr;
  }

  .about-book__cover {
    max-width: 155px;
  }

  .about-actions,
  .about-actions--centered {
    align-items: stretch;
    flex-direction: column;
  }

  .about-button {
    width: 100%;
  }
}
