@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  z-index: 1000;
  transition: top 0.3s;
  font-size: 1.045em;
}
.skip-link:focus {
  top: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  font-size: 1.045em;
}

body {
  font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #fafafa;
  min-height: 100vh;
  color: #2c2c2c;
  line-height: 1.6;
  font-size: 1.045em;
}

@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;
  }
  .link-item:hover,
  .link-item:focus {
    transform: none;
  }
}

.container {
  max-width: 90vw;
  margin: 0 auto;
  padding: 3vw 2vw;
  font-size: 1.045em;
}

.profile {
  text-align: center;
  margin-bottom: 5vw;
}

.profile-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  border-bottom: 0.5vw solid #e5e7eb;
  margin-bottom: 0;
  object-fit: cover;
  filter: brightness(1.05) contrast(1.1);
  border-radius: 1vw 1vw 0 0;
  box-shadow: 0 0.3vw 1.5vw rgba(0, 0, 0, 0.1);
}

.profile-name {
  color: #1a1a1a;
  font-size: min(7vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5vw;
  text-transform: uppercase;
  letter-spacing: 0.4vw;
}

.profile-bio {
  color: #6b7280;
  font-size: min(3.5vw, 1.125rem);
  line-height: 1.5;
  max-width: 70vw;
  margin: 0 auto;
}

.links-container {
  display: flex;
  flex-direction: column;
  gap: 2.5vw;
  font-size: 1.045em;
}

.link-item {
  background: #fff;
  border: 0.13vw solid #e5e7eb;
  border-radius: 1vw;
  padding: 2.5vw 2.5vw;
  text-decoration: none;
  color: #1a1a1a;
  transition: 
    background 0.3s, 
    box-shadow 0.3s, 
    transform 0.2s, 
    border-color 0.3s, 
    outline 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: block;
  font-size: 4.18vw;
  box-shadow: 0 0.2vw 1vw rgba(0,0,0,0.08);
}

.link-item:focus {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
  border-color: #0066cc;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
}

.link-content {
  text-align: center;
  font-size: 1.045em;
}

.link-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1vw;
  line-height: 1.2;
  font-size: 2.1vw;
}

.link-title {
  font-weight: 700;
  font-size: 5vw;
  letter-spacing: 0.05vw;
  color: #1a1a1a;
}

.link-description {
  font-size: min(3.344vw, 1.045rem);
  font-weight: 400;
  color: #6b7280;
  line-height: 1.4;
  margin-top: 0.7vw;
}

.link-icon {
  margin-right: 0.5vw;
  font-size: 0.9405em;
  color: #0066cc;
}

.section-heading {
  color: #333;
  font-size: min(3.6575vw, 1.175625rem);
  font-weight: 700;
  margin-top: 4vw;
  margin-bottom: 1.5vw;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15vw;
}

.section-description {
  color: #6b7280;
  font-size: 2.8215vw;
  font-weight: 400;
  text-align: center;
  margin-top: -3vw;
  margin-bottom: 2.5vw;
  line-height: 1.5;
  font-style: italic;
}

.link-item:hover,
.link-item:focus {
  background: #f8f9fa;
  border-color: #0066cc;
  transform: translateY(-0.7vw) scale(1.01);
  box-shadow: 0 1.2vw 6vw rgba(0, 102, 204, 0.15);
}

.link-item:focus {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

.link-item:focus:not(:focus-visible) {
  outline: none;
}

.link-item:active {
  transform: translateY(0) scale(0.99);
}

.link-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.08), transparent);
  transition: left 0.6s;
  z-index: 1;
}

.link-item:hover::before {
  left: 100%;
}

.link-item.highlight {
  background: #f8f9fa;
  border-color: #0066cc;
  transform: translateY(-0.7vw) scale(1.01);
  box-shadow: 0 1.2vw 6vw rgba(0, 102, 204, 0.15);
}

.link-item.highlight:hover,
.link-item.highlight:focus {
  background: #f0f4ff;
  border-color: #0052a3;
  transform: translateY(-1.2vw) scale(1.03);
  box-shadow: 0 2vw 8vw rgba(0, 82, 163, 0.25);
}

.contact-section {
  text-align: center;
  margin-top: 5vw;
  padding: 3.5vw 2vw;
  font-size: 1.045em;
}

.contact-section p {
  color: #6b7280;
  font-size: min(4.389vw, 1.175625rem);
  line-height: 1.5;
  max-width: 70vw;
  margin: 0 auto;
}

.footer {
  text-align: center;
  margin-top: 4vw;
  padding: 2.5vw 2vw;
  border-top: 0.13vw solid #e5e7eb;
  opacity: 0.7;
  font-size: 1.045em;
}

.footer p {
  color: #6b7280;
  font-size: min(3.2vw, 0.9rem);
  margin: 0;
}

.footer a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover,
.footer a:focus {
  color: #004499;
  text-decoration: underline;
}
