@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Nunito:wght@400;600;700;800&display=swap");
@import "../tokens/color.tokens.css";
@import "../tokens/spacing.tokens.css";
@import "../tokens/radius.tokens.css";
@import "../tokens/typography.tokens.css";
@import "../tokens/shadow.tokens.css";
@import "../tokens/component.tokens.css";

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-family-body);
}

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

p {
  color: var(--text-primary);
  font-family: var(--font-family-body);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-xs);
}

.section_team {
  padding: var(--space-13) var(--space-4) var(--space-10);
  max-width: 100vw;
  margin-left: auto;
  margin-right: auto;
}

.section_team h1 {
  font-family: var(--text-heading-1-font-family);
  font-size: var(--font-size-lg);
  font-weight: var(--text-heading-1-font-weight);
  line-height: var(--text-heading-1-line-height);
  color: var(--text-primary);
}

.team-intro {
  /* width: 80vw; */
  margin: var(--space-3) auto;
}

.subtitle {
  text-align: center;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: var(--space-4) 0;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  align-items: start;
  justify-items: space-evenly;
}

.team-member {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: var(--space-4);
  align-items: end;
}

.team-member img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-xs);
}

.team-look {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-look h3 {
  font-size: var(--font-size-xs);
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  /* align-self: flex-start; */
}

.team-description {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.team-links {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  gap: var(--space-6);
}

.team-links a {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.team-links a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-links a span {
  font-family: var(--font-family-body);
  font-size: var(--font-size-xxs);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-sm);
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  border-radius: var(--radius-xs);
  padding: 0 var(--space-1);
  transition: background-color 0.3s ease;
}

.team-links a:hover span {
  background-color: var(--brand-highlight);
}

.more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--button-radius);
  font-size: var(--font-size-xxs);
  font-family: var(--font-family-heading);
  border: var(--button-border-width) var(--button-border-style) var(--button-accent-default-border);
  background: var(--button-accent-default-bg);
  color: var(--button-accent-default-text);
  font-weight: var(--font-weight-semibold);
  margin-top: var(--space-2);
}

.more-button:hover {
  background: var(--button-accent-hover-bg);
  box-shadow: var(--shadow-button-hover);
  border-color: var(--button-accent-hover-border);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.more-button:active {
  background: var(--button-accent-active-bg);
  border-color: var(--button-accent-active-border);
  color: var(--text-on-dark);
}

/* BREAKPOINTS */
@media (min-width: 834px) {
  .section_team {
    padding: var(--space-13) var(--space-8) var(--space-10);
  }

  .team-intro {
    font-size: var(--font-size-xs);
    line-height: var(--text-body-regular-line-height);
  }

  .subtitle {
    font-size: var(--font-size-sm);
    margin: var(--space-7) 0 var(--space-3);
  }

  .team-list {
    flex-direction: row;
    gap: var(--space-5);
  }

  .team-member {
    grid-template-columns: 1fr;
  }

  .team-member img {
    width: 150px;
    height: 200px;
  }

  .team-look h3 {
    font-size: var(--font-size-sm);
  }

  .team-description p {
    font-size: var(--font-size-xs);
    line-height: var(--line-height-xs);
  }

  .team-links a img {
    width: 32px;
    height: 32px;
  }

  .team-links a span {
    font-size: var(--font-size-xs);
  }

  .more-button {
    font-size: var(--font-size-xs);
  }
}

@media (min-width: 1194px) {
  .section_team {
    padding: var(--space-13) var(--space-9) var(--space-10);
  }

  .team-intro {
    font-size: var(--text-body-regular-font-size);
    margin: var(--space-0);
    width: 80%;
  }

  .team-list {
    margin: var(--space-0);
    gap: var(--space-9);
  }

  .team-member {
    gap: var(--space-6);
  }

  .team-description p {
    font-size: var(--text-body-regular-font-size);
  }

  .more-button {
    font-size: var(--font-size-sm);
  }
}

@media (min-width: 1440px) {
  .section_team {
    padding: var(--space-13) var(--space-11) var(--space-11);
  }

  .team-intro {
    font-size: var(--text-body-regular-font-size);
  }

  .subtitle {
    font-size: var(--font-size-md);
    margin: var(--space-7) 0 var(--space-5);
  }

  .team-look h3 {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-3);
  }

  .team-description p {
    font-size: var(--text-body-regular-font-size);
  }
}