
.home-panel {
  width: min(100% - (var(--page-gutter) * 2), var(--content-width));
  margin-inline: auto;
  border: 1px solid #484d55;
  border-radius: 20px;
  background: #34383e;
  color: #f3f4f5;
  transition:
    transform 320ms var(--motion-ease),
    background-color 320ms var(--motion-ease),
    border-color 320ms var(--motion-ease),
    box-shadow 320ms var(--motion-ease);
}

.home-panel:hover {
  transform: translateY(-3px);
  border-color: #5b626b;
  background: #3a3f46;
  box-shadow: 0 12px 28px rgba(20, 22, 24, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .home-panel {
    transition: none;
  }

  .home-panel:hover {
    transform: none;
  }
}


.home-intro {
  display: flex;
  align-items: center;
  min-height: 250px;
  margin-top: 36px;
  padding: 44px clamp(24px, 6vw, 64px);
}

.home-intro__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(32px, 7vw, 96px);
  width: 100%;
}

.home-intro__title,
.home-intro__description {
  grid-column: 1;
}

.home-intro__title {
  align-self: end;
  max-width: 620px;
  color: #ffffff;
  font-size: clamp(27px, 3.6vw, 36px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.home-intro__description {
  max-width: 620px;
  margin-top: 14px;
  color: #d0d2d4;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.home-intro__actions {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--motion-standard) var(--motion-ease),
    color var(--motion-standard) var(--motion-ease),
    border-color var(--motion-standard) var(--motion-ease);
}

.button--primary {
  background: #f1f2f3;
  color: #202226;
}

.button--primary:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
  color: #ffffff;
}

.button--light {
  grid-column: 2;
  grid-row: 1 / span 2;
  background: #f1f2f3;
  color: #202226;
}

.button--light:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
  color: #ffffff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button:focus-visible,
.text-link:focus-visible {
  outline: 3px solid #f1a56f;
  outline-offset: 4px;
}


.home-section {
  margin-top: 22px;
  padding: clamp(30px, 5vw, 54px);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.about-section h2,
.home-cta h2 {
  margin-top: 10px;
  color: #ffffff;
  font-size: clamp(27px, 3.6vw, 36px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.12;
}


.about-section {
  margin-top: 30px;
  padding: clamp(30px, 5vw, 64px);
}

.about-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.about-section__identity {
  min-width: 0;
}

.about-section__identity h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.about-section__role {
  margin-top: 14px;
  color: #c6c8cb;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.7;
}

.about-section__experience {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 235px;
  max-width: 100%;
  padding: 24px 28px;
  border: 1px solid #50555d;
  border-radius: 14px;
  background: #2c3035;
  transition:
    background-color 220ms var(--motion-ease),
    border-color 220ms var(--motion-ease),
    transform 220ms var(--motion-ease);
}

.about-section__experience:hover {
  border-color: #737b85;
  background: #393e45;
  transform: translateY(-3px);
}

.about-section__experience-number {
  color: #ffffff;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 1;
}

.about-section__experience-label {
  margin-top: 12px;
  color: #c6c8cb;
  font-size: 13px;
  line-height: 1.7;
}

.about-section__intro {
  max-width: 920px;
  margin: 42px 0;
}

.about-section__lead {
  color: #ffffff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.55;
}

.about-section__skills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 52px;
}

.about-section__skill {
  min-width: 0;
  padding: 24px;
  border: 1px solid #50555d;
  border-radius: 12px;
  background: #2e3237;
  transition:
    background-color 220ms var(--motion-ease),
    border-color 220ms var(--motion-ease),
    transform 220ms var(--motion-ease);
}

.about-section__skill:hover {
  border-color: #737b85;
  background: #393e45;
  transform: translateY(-3px);
}

.about-section__skill h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.about-section__skill p {
  margin-top: 12px;
  color: #c6c8cb;
  font-size: 14px;
  line-height: 1.8;
}

.about-section__story {
  max-width: 850px;
}

.about-section__story h3 {
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 730;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.about-section__story > p {
  margin-top: 18px;
  color: #c6c8cb;
  font-size: 15px;
  line-height: 1.95;
}

.home-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 40px;
  margin-top: 22px;
  margin-bottom: 48px;
  padding: clamp(30px, 5vw, 54px);
}

.home-cta h2,
.home-cta p {
  grid-column: 1;
}

.home-cta h2 {
  margin-top: 0;
}

.home-cta p {
  margin-top: 10px;
  color: #c6c8cb;
  font-size: 15px;
  line-height: 1.7;
}


@media (prefers-reduced-motion: reduce) {
  .about-section__skill,
  .about-section__experience {
    transition: none;
  }

  .about-section__skill:hover,
  .about-section__experience:hover {
    transform: none;
  }
}


@media (max-width: 850px) {
  .about-section__header {
    align-items: flex-start;
    gap: 28px;
  }

  .about-section__experience {
    width: 190px;
    padding: 20px;
  }

  .about-section__skills {
    grid-template-columns: 1fr;
  }

  .about-section__skill {
    padding: 22px;
  }

  .about-section__skill p {
    max-width: 500px;
  }
}


@media (max-width: 760px) {
  .home-intro__content {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .home-intro__actions {
    grid-column: 1;
    grid-row: auto;
  }

  .about-section__header {
    gap: 24px;
  }

  .home-cta {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .button--light {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}


@media (max-width: 600px) {
  .about-section {
    padding: 30px 24px;
  }

  .about-section__header {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .about-section__identity h2 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .about-section__experience {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: none;
    padding: 18px 20px;
  }

  .about-section__experience-number {
    flex-shrink: 0;
    font-size: 42px;
  }

  .about-section__experience-label {
    max-width: 180px;
    margin-top: 0;
  }

  .about-section__intro {
    margin: 30px 0;
  }

  .about-section__lead {
    font-size: 23px;
    line-height: 1.6;
  }

  .about-section__skills {
    gap: 12px;
    margin-bottom: 38px;
  }

  .about-section__skill {
    padding: 20px;
  }

  .about-section__story h3 {
    margin-bottom: 16px;
  }

  .about-section__story > p {
    font-size: 15px;
    line-height: 1.85;
  }
}


@media (max-width: 480px) {
  .home-intro {
    min-height: 0;
    margin-top: 20px;
    padding: 30px 22px;
  }

  .home-section,
  .home-cta {
    padding: 28px 22px;
  }

  .about-section {
    padding: 30px 22px;
  }

  .about-section__identity h2 {
    font-size: 32px;
  }

  .about-section__role {
    font-size: 15px;
  }

  .about-section__lead {
    font-size: 22px;
  }

  .about-section__skill {
    padding: 18px;
  }

  .about-section__skill h3 {
    font-size: 17px;
  }

  .about-section__skill p {
    font-size: 14px;
  }

  .about-section__story h3 {
    margin-top: 0;
    font-size: 22px;
  }

  .about-section__story > p {
    font-size: 15px;
    line-height: 1.85;
  }

  .home-intro__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}
