@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-v37-latin-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-v37-latin-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-v37-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-v37-latin-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --team-navy: #11163e;
  --team-navy-deep: #090d2b;
  --team-indigo: #5453ed;
  --team-orange: #f25922;
  --team-white: #fff;
  --team-soft: #f6f7fb;
  --team-lilac: #ececff;
  --team-text-muted: rgba(17, 22, 62, .72);
  --team-border: rgba(17, 22, 62, .1);
  --team-shadow: 0 24px 70px rgba(17, 22, 62, .1);
  --team-shell: min(100% - 40px, 1180px);
  --team-radius-lg: 34px;
  --team-radius-md: 24px;
  --team-radius-sm: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--team-white);
  color: var(--team-navy);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

img,
svg {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.profile-shell {
  width: var(--team-shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--team-white);
  color: var(--team-navy);
  padding: 10px 16px;
  font-size: .82rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.profile-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  color: var(--team-white);
}

.profile-header__inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.profile-brand img {
  width: 158px;
  height: auto;
}


.profile-language {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .68);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.profile-language a {
  padding: 8px 4px;
}

.profile-language a[aria-current="page"] {
  color: var(--team-white);
}

.profile-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--team-navy-deep);
  color: var(--team-white);
}

.profile-hero__background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 13, 43, .22) 0%, rgba(9, 13, 43, .58) 48%, rgba(9, 13, 43, .86) 100%),
    url("../img/team/ivanv/hero-bg.webp") center / cover no-repeat;
}

.profile-hero__background::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 43, .04), rgba(9, 13, 43, .32));
  content: "";
}

.profile-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: end;
  min-height: 650px;
  gap: clamp(32px, 6vw, 88px);
  padding-top: 100px;
}

.profile-portrait {
  position: relative;
  align-self: stretch;
  min-height: 550px;
  margin: 0;
}

.profile-portrait::before {
  position: absolute;
  inset: 52px 20px 0 -48px;
  border-radius: 0 120px 34px 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(238, 238, 255, .92));
  content: "";
}

.profile-portrait::after {
  position: absolute;
  right: -34px;
  bottom: 48px;
  width: 170px;
  height: 170px;
  border: 36px solid var(--team-white);
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
  opacity: .92;
}

.profile-portrait img {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 590px);
  max-height: 570px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center bottom;
}

.profile-intro {
  align-self: center;
  max-width: 650px;
  padding: 96px 0 74px;
}

.profile-kicker,
.profile-eyebrow {
  margin: 0 0 12px;
  color: var(--team-indigo);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profile-kicker {
  color: rgba(255, 255, 255, .72);
}

.profile-hello {
  margin: 0 0 5px;
  color: var(--team-orange);
  font-size: .95rem;
  font-weight: 800;
}

.profile-intro h1 {
  margin: 0 0 8px;
  font-size: clamp(3.6rem, 6vw, 6.9rem);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .92;
}

.profile-intro h1 span {
  color: var(--team-orange);
}

.profile-role {
  margin: 0 0 22px;
  font-size: 1rem;
  font-weight: 800;
}

.profile-bio {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.profile-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: .77rem;
  font-weight: 600;
}

.profile-meta svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-meta__dot {
  width: 9px;
  height: 9px;
  border: 1.5px solid #62de69;
  border-radius: 50%;
}

.profile-actions {
  position: relative;
  z-index: 5;
  margin-top: -42px;
}

.profile-actions__panel {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 26px;
  background: rgba(255, 255, 255, .98);
  padding: 20px 28px;
  box-shadow: 0 18px 54px rgba(17, 22, 62, .14);
}

.profile-actions__panel h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.profile-actions__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.profile-action {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: 16px;
  padding: 10px 6px;
  color: var(--team-navy);
  font-size: .68rem;
  font-weight: 700;
  text-align: center;
  transition: transform .18s ease, background-color .18s ease;
}

.profile-action:hover,
.profile-action:focus-visible {
  background: var(--team-soft);
  transform: translateY(-2px);
}

.profile-action__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1.5px solid rgba(84, 83, 237, .38);
  border-radius: 50%;
  color: var(--team-indigo);
}

.profile-action--accent .profile-action__icon {
  border-color: rgba(242, 89, 34, .45);
  color: var(--team-orange);
}

.profile-action__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-action:first-child .profile-action__icon svg {
  fill: currentColor;
  stroke: none;
}

.profile-section {
  padding: 82px 0;
}

.profile-section__head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: end;
  margin-bottom: 34px;
}

.profile-section__head h2,
.profile-about__copy h2,
.profile-contact-card h2,
.profile-company h2 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  letter-spacing: -.045em;
  line-height: 1.02;
}

.profile-section__head > p,
.profile-about__copy > p,
.profile-contact-card p,
.profile-company p {
  color: var(--team-text-muted);
}

.profile-section__head > p {
  max-width: 640px;
  margin: 0;
}

.profile-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.profile-service {
  overflow: hidden;
  border: 1px solid var(--team-border);
  border-radius: var(--team-radius-md);
  background: var(--team-white);
  box-shadow: 0 16px 46px rgba(17, 22, 62, .07);
}

.profile-service > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.profile-service__body {
  position: relative;
  padding: 24px 24px 26px;
}

.profile-service__icon {
  position: absolute;
  top: -23px;
  left: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--team-white);
  color: var(--team-indigo);
  box-shadow: 0 8px 20px rgba(17, 22, 62, .14);
}

.profile-service__icon--orange {
  color: var(--team-orange);
}

.profile-service__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-service h3 {
  margin: 12px 0 9px;
  font-size: 1.08rem;
}

.profile-service p {
  margin: 0;
  color: var(--team-text-muted);
  font-size: .9rem;
}

.profile-about {
  padding-top: 16px;
}

.profile-about__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  overflow: hidden;
  border: 1px solid var(--team-border);
  border-radius: var(--team-radius-lg);
  background: var(--team-soft);
}

.profile-about__copy {
  align-self: center;
  padding: clamp(34px, 5vw, 68px);
}

.profile-about__copy > p {
  max-width: 650px;
}

.profile-about__copy > p:last-of-type {
  margin-bottom: 0;
}

.profile-about__media {
  min-height: 470px;
  margin: 0;
  overflow: hidden;
}

.profile-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--team-indigo);
  font-size: .84rem;
  font-weight: 800;
}

.profile-text-link svg,
.profile-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-contact-band {
  padding-top: 0;
}

.profile-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, .92fr);
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--team-border);
  border-radius: var(--team-radius-md);
  background: var(--team-white);
  box-shadow: 0 14px 42px rgba(17, 22, 62, .07);
}

.profile-contact-card > div {
  align-self: center;
  padding: 32px;
}

.profile-contact-card h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.profile-contact-card p {
  font-size: .9rem;
}

.profile-contact-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 999px;
  background: var(--team-orange);
  color: var(--team-white);
  padding: 0 20px;
  font-size: .8rem;
  font-weight: 800;
}

.profile-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.profile-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(84, 83, 237, .26);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--team-indigo);
  font-size: .75rem;
  font-weight: 800;
}

.profile-social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.profile-social-links a:last-child svg {
  fill: currentColor;
  stroke: none;
}

.profile-company {
  padding: 0 0 58px;
}

.profile-company__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  overflow: hidden;
  border-radius: var(--team-radius-lg);
  background:
    radial-gradient(circle at 88% 50%, rgba(84, 83, 237, .48), transparent 28%),
    linear-gradient(120deg, #11163e, #171d59 58%, #202878);
  color: var(--team-white);
  padding: clamp(34px, 5vw, 58px);
}

.profile-company h2 {
  max-width: 760px;
}

.profile-company p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .7);
}

.profile-eyebrow--light {
  color: var(--team-orange);
}

.profile-button--light {
  flex: 0 0 auto;
  background: var(--team-white);
  color: var(--team-navy);
}

.profile-footer {
  background: var(--team-navy-deep);
  color: var(--team-white);
  padding: 44px 0 20px;
}

.profile-footer__grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, .65fr);
  gap: 44px;
}

.profile-footer__brand img {
  width: 172px;
  height: auto;
}

.profile-footer__brand p,
.profile-footer a,
.profile-footer__bottom {
  color: rgba(255, 255, 255, .62);
  font-size: .74rem;
}

.profile-footer__brand p {
  max-width: 240px;
  margin: 13px 0 0;
}

.profile-footer h2 {
  margin: 0 0 12px;
  color: var(--team-white);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-footer a {
  display: block;
  margin: 7px 0;
}

.profile-footer a:hover,
.profile-footer a:focus-visible {
  color: var(--team-white);
}

.profile-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 18px;
}

@media (max-width: 980px) {
  :root {
    --team-shell: min(100% - 32px, 860px);
  }

  .profile-hero,
  .profile-hero__grid {
    min-height: 590px;
  }

  .profile-hero__grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
  }

  .profile-portrait {
    min-height: 480px;
  }

  .profile-intro {
    padding-bottom: 68px;
  }

  .profile-actions__panel {
    grid-template-columns: 1fr;
  }

  .profile-actions__panel h2 {
    text-align: center;
  }

  .profile-section__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .profile-about__panel,
  .profile-contact-card {
    grid-template-columns: 1fr;
  }

  .profile-about__media,
  .profile-contact-card > img {
    min-height: 330px;
    max-height: 430px;
  }

  .profile-contact-grid {
    grid-template-columns: 1fr;
  }

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

  .profile-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --team-shell: min(100% - 24px, 620px);
  }

  .profile-header__inner {
    min-height: 68px;
  }

  .profile-brand img {
    width: 132px;
  }

  .profile-hero {
    min-height: auto;
  }

  .profile-hero__background {
    background:
      linear-gradient(180deg, rgba(9, 13, 43, .18) 0%, rgba(9, 13, 43, .72) 58%, rgba(9, 13, 43, .97) 100%),
      url("../img/team/ivanv/hero-bg.webp") 42% center / cover no-repeat;
  }

  .profile-hero__grid {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 0;
    padding-top: 72px;
  }

  .profile-portrait {
    width: calc(100% + 24px);
    min-height: 365px;
    align-self: center;
    margin-inline: -12px;
  }

  .profile-portrait::before {
    inset: 24px 10% 0 -20px;
    border-radius: 0 84px 28px 0;
  }

  .profile-portrait::after {
    right: 3%;
    bottom: 26px;
    width: 110px;
    height: 110px;
    border-width: 24px;
  }

  .profile-portrait img {
    max-height: 380px;
  }

  .profile-intro {
    width: 100%;
    padding: 26px 0 74px;
  }

  .profile-kicker {
    margin-bottom: 8px;
  }

  .profile-intro h1 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .profile-meta {
    display: grid;
    gap: 8px;
  }

  .profile-actions {
    margin-top: -38px;
  }

  .profile-actions__panel {
    min-height: 0;
    border-radius: 24px;
    padding: 20px 16px;
  }

  .profile-actions__grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 8px;
  }

  .profile-action:nth-child(4),
  .profile-action:nth-child(5) {
    grid-column: span 1;
  }

  .profile-section {
    padding: 64px 0;
  }

  .profile-section__head h2,
  .profile-about__copy h2,
  .profile-company h2 {
    font-size: clamp(1.95rem, 9vw, 3rem);
  }

  .profile-service-grid {
    grid-template-columns: 1fr;
  }

  .profile-service > img {
    aspect-ratio: 16 / 10;
  }

  .profile-about {
    padding-top: 0;
  }

  .profile-about__panel {
    border-radius: 26px;
  }

  .profile-about__copy {
    padding: 30px 24px;
  }

  .profile-about__media {
    min-height: 310px;
    max-height: 360px;
  }

  .profile-contact-card {
    min-height: 0;
  }

  .profile-contact-card > div {
    padding: 28px 24px;
  }

  .profile-contact-card > img {
    min-height: 250px;
    max-height: 300px;
  }

  .profile-company {
    padding-bottom: 42px;
  }

  .profile-company__panel {
    grid-template-columns: 1fr;
    border-radius: 26px;
    padding: 32px 24px;
  }

  .profile-company__panel .profile-button {
    width: 100%;
  }

  .profile-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .profile-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .profile-actions__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-action:last-child {
    grid-column: 1 / -1;
  }

  .profile-footer__grid {
    grid-template-columns: 1fr;
  }

  .profile-footer__brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .profile-action {
    transition: none;
  }
}
