/* Fonts */
@font-face {
  font-family: "TT Norms Pro Trial";
  src: url("fonts/TT_Norms_Pro_Trial_normal.ttf") format("truetype");
  font-weight: 450;
  font-style: normal;
}

@font-face {
  font-family: "TT Norms Pro Trial";
  src: url("fonts/TT_Norms_Pro_Trial_DemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "TT Norms Pro Trial";
  src: url("fonts/TT_Norms_Pro_Trial_Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}


@font-face {
  font-family: "TT Norms Pro Trial";
  src: url("fonts/TT_Norms_Pro_Trial_Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

:root {
  --color-primary: #232323;
  --color-muted: #ababab;
  --color-bg: #ffffff;
  --color-stroke: #e9e9e9;
  --color-accent: #0085fa;
  --color-chip-active: #232323;
  --color-chip-default: #f2f2f2;
  --content-width: 693px;
  --inner-offset: 30px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-primary);
  font-family: "TT Norms Pro Trial", system-ui, -apple-system, sans-serif;
}

::selection {
  background: #000000;
  color: #ffffff;
}

/* ======================================== */
/* LANDING PAGE                             */
/* ======================================== */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
}

.avatar-wrap,
.intro,
.cases {
  width: 100%;
  max-width: var(--content-width);
}

.avatar-wrap {
  padding-left: var(--inner-offset);
  padding-bottom: 56px;
}

.avatar {
  display: block;
  width: 94px;
  height: 94px;
  object-fit: cover;
  border-radius: 0;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: var(--inner-offset);
  word-break: break-word;
  padding-bottom: 54px;
}

.name {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 0.95;
}

.intro-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 32px;
  font-weight: 600;
  line-height: 42px;
}

.role {
  margin: 0;
  max-width: 633px;
}

.bio {
  margin: 0;
  font-weight: 600;
  line-height: 42px;
}

.contact {
  max-width: 548px;
}

.contact-label,
.contact-links {
  margin: 0;
  line-height: 42px;
}

.contact-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-underline-height: 2px;
  padding: 2px 0 2px 0;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.contact-links a:hover {
  background: #232323;
  color: #ffffff;
}

.cases {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cases-heading {
  margin: 0;
  padding-left: var(--inner-offset);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.case {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-list {
  margin: 0;
  padding: 0 0 0 2px;
  list-style-position: outside;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.case-list li {
  margin-left: var(--inner-offset);
}

.case-title {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 5px;
  padding: 2px 0px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.case-title:hover {
  background: #232323;
  color: #ffffff;
}

.case-subtitle {
  margin: 0;
  padding-left: 32px;
  max-width: 633px;
  color: var(--color-muted);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

@media (min-width: 769px) {
  .page {
    padding: 80px 48px 120px;
  }
}

@media (max-width: 768px) {
  .page {
    padding-top: 52px;
    padding-bottom: 60px;
    padding-left: 0;
    padding-right: 0;
    gap: 44px;
  }
.intro{padding: 0 24px 0 24px}

  .avatar-wrap,
  .cases-heading,
  .case-subtitle {
    padding-left: 0;
  }

  .avatar-wrap {
    padding-left: 24px;
    padding-bottom: 0px;
    margin-bottom: 4px;
  }

  .avatar {
    width: 74px;
    height: 74px;
    border-radius: 19px;
  }

  .name {
    font-size: 32px;
    margin-bottom: 2px;
  }

  .intro-body {
    font-size: 24px;
    line-height: 1.2;
  
  }

  .bio{
    line-height: 1.2;
    margin-bottom: 5px;
  }

  .cases {
    gap: 20px;
    
  }

  .case {
    gap: 6px;
  }

  .case-title {
    font-size: 16px;
    font-weight: 600;
  }

  .case-subtitle {
    font-size: 16px;
    font-weight: 450;
    padding: 0 24px 0 24px;
  }

  .cases-heading {
    white-space: normal;
    padding-left: 24px;
  }
  .case-list {
  margin: 0;
  padding: 0 0 0 0;
  list-style-position: outside;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.case-list li {
  margin-left: 24px;
}
.role {
  margin-bottom:2px;
}
 .contact-label{
  line-height: 1.1;
  margin-bottom:0px;
 }
 .contact-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-underline-height: 2px;
  padding: 0;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
  .contact-links{
    line-height:1.5
  }
}
