:root {
  --bg: #f3f3f3;
  --text: #121212;
  --muted: #5f5f5f;
  --border: rgba(0, 0, 0, 0.12);
  --max: 1720px;
}

body.dark {
  --bg: #0f0f0f;
  --text: #f2f2f2;
  --muted: #ababab;
  --border: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
  transition: background 0.25s ease, color 0.25s ease;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
}

.brand {
  justify-self: start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header-center {
  justify-self: center;
}

.mode-button {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.68;
  transition: opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  opacity: 1;
}

/* page */
.about-page {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 110px;
}

/* top section */
.about-top {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.15fr);
  gap: 42px;
  align-items: start;
}

.about-top__image {
  max-width: 560px;
  margin: 0 auto;
}

.about-top__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #dde3ea;
}

.about-top__info {
  padding-top: 6px;
}

.about-top__info h1 {
  margin: 0 0 62px;
  font-size: clamp(68px, 7vw, 118px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.info-list {
  max-width: 660px;
  display: grid;
  gap: 18px;
}

.info-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
}

.info-label {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.info-value {
  font-size: 17px;
  line-height: 1.25;
  color: var(--text);
}

.info-value a:hover {
  opacity: 0.65;
}

/* intro section */
.about-intro {
  margin-top: 130px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.about-intro p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(38px, 4.5vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  font-weight: 400;
}

/* responsive */
@media (max-width: 1200px) {
  .about-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-top__image {
    max-width: 520px;
    margin: 0;
  }

  .about-top__info h1 {
    margin-bottom: 42px;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand nav"
      "mode mode";
    row-gap: 10px;
  }

  .brand {
    grid-area: brand;
  }

  .site-nav {
    grid-area: nav;
  }

  .header-center {
    grid-area: mode;
  }

  .about-page {
    width: calc(100% - 22px);
    padding-top: 28px;
  }

  .about-top {
    gap: 28px;
  }

  .about-top__info h1 {
    margin: 0 0 28px;
    font-size: clamp(52px, 14vw, 82px);
  }

  .info-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .info-label,
  .info-value {
    font-size: 15px;
  }

  .about-intro {
    margin-top: 72px;
  }

  .about-intro p {
    font-size: clamp(30px, 9vw, 48px);
    line-height: 1.14;
  }
}
.back-home {
  display: flex;
  justify-content: center;
  margin-top: 40px;
   margin-bottom: 100px;
}

.back-home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.back-home__button:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-1px);
}