.home-page {
  color: var(--gray-700);
  background: var(--white);
}

.home-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.home-kicker {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 128px) 0;
}

.home-hero::before {
  position: absolute;
  top: -360px;
  right: -180px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0) 68%);
  content: "";
  pointer-events: none;
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.home-hero h1 {
  max-width: 710px;
  margin: 16px 0 24px;
  color: var(--black);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.home-hero h1 em {
  display: block;
  color: var(--accent);
  font-style: normal;
}

.home-hero h1 em.home-hero__em--compact {
  font-size: 0.75em;
}

.home-intro {
  max-width: 630px;
  font-size: clamp(1.05rem, 1.6vw, 1.23rem);
  line-height: 1.75;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-portrait {
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--accent-light);
  box-shadow: var(--shadow-lg);
}

.home-portrait img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center top;
}

.home-roles {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--white);
}

.home-roles h2 {
  max-width: 700px;
  margin: 14px 0 44px;
  color: var(--black);
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.home-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-role-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 32px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.home-role-card:hover,
.home-role-card:focus-within {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.home-role-card__number {
  margin-bottom: 48px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.home-role-card h3 {
  margin-bottom: 12px;
  color: var(--black);
  font-size: 1.35rem;
  line-height: 1.3;
}

.home-role-card p {
  line-height: 1.65;
}

.home-role-card a {
  width: fit-content;
  margin-top: auto;
  padding-top: 26px;
  color: var(--accent);
  font-weight: 700;
}

.home-role-card a:hover,
.home-role-card a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-page a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer {
  padding: 36px 0 0;
  background: var(--gray-100);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
}

.footer__brand p {
  max-width: 280px;
  margin-top: 20px;
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer__logo {
  display: inline-flex;
  flex-direction: column;
  color: var(--black);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.footer__logo span {
  margin-top: 3px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
}

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

.footer__col-heading {
  margin-bottom: 4px;
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__col:not(.footer__col--contact) a::before {
  flex-shrink: 0;
  color: var(--accent);
  content: '–';
}

.footer__col a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

.footer__col--contact a { white-space: nowrap; }

.footer__col a:hover,
.footer__col a:focus-visible,
.footer__logo:hover,
.footer__logo:focus-visible {
  color: var(--black);
  text-decoration: none;
}

.footer__bottom {
  padding: 16px 0;
  border-top: 1px solid var(--gray-200);
}

.footer__bottom p {
  color: var(--gray-500);
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 760px) {
  .home-container { width: min(100% - 36px, 1120px); }
  .home-hero__grid,
  .home-role-grid,
  .footer__inner { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .home-portrait { min-height: 390px; max-width: 480px; }
  .home-portrait img { min-height: 390px; }
  .home-role-card { min-height: 0; }
  .home-role-card__number { margin-bottom: 32px; }
  .footer__inner { gap: 28px; }
}

@media (max-width: 420px) {
  .home-portrait,
  .home-portrait img { min-height: 330px; }
}
