/* Tamaryn Mount - Personal Website */
/* Based on The Keystone Model design */

:root {
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #6a6a6a;
  --bg-white: #ffffff;
  --bg-subtle: #fafafa;
  --accent: #2563EB;
  --accent-hover: #1F4FD8;
  --border-light: #e5e5e5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-white);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
}

.skip-link:focus,
.skip-link:active {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  overflow: visible;
  background: var(--accent);
  color: var(--bg-white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  z-index: 1000;
}

h1 {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 3rem 6rem;
}

.bio-section {
  margin-bottom: 1.75rem;
}

.bio-section:last-child {
  margin-bottom: 0;
}

.team-member-name {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.team-member-role {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 2rem;
}

.team-contact {
  margin-top: 1.5rem;
}

.linkedin-link {
  font-size: 1rem;
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.15s ease;
}

.linkedin-link:hover {
  color: var(--accent-hover);
}

.headshot-float {
  float: left;
  width: 35%;
  max-width: 280px;
  height: auto;
  margin: 0 2rem 1.5rem 0;
  border-radius: 4px;
  object-fit: cover;
}

footer {
  border-top: 1px solid var(--border-light);
  padding: 2rem 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2rem;
  }

  main {
    padding: 3rem 1.5rem 4rem;
  }

  .headshot-float {
    float: none;
    width: 60%;
    max-width: 240px;
    margin: 0 auto 2rem;
    display: block;
  }

  footer {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 2rem 1.25rem 3rem;
  }

  footer {
    padding: 1.5rem 1.25rem;
  }
}
