/* Reset */

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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Base */

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #1a1a1a;
  background: #faf9f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  opacity: 0.7;
}

/* Focus */

:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: #1a1a1a;
  color: #faf9f7;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Header */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #faf9f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #ebebeb;
}

.logo {
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
}

.social-links a {
  display: flex;
  text-decoration: none;
  color: #1a1a1a;
}

.social-links a:hover {
  opacity: 0.6;
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

/* Main */

main {
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
}

/* Hero */

section {
  padding: 4rem 0;
  width: 100%;
}

.hero {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-photo {
  flex-shrink: 0;
}

.hero-photo img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

h1 {
  font-family: "Fraunces", serif;
  font-optical-sizing: auto;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.tagline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.tagline > span {
  font-size: 1.1rem;
  color: #555;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #666;
  background: #eeecea;
  border-radius: 9999px;
  padding: 0.2rem 0.6rem 0.2rem 0.4rem;
  text-decoration: none;
}

.status:hover {
  background: #e5e3e0;
  transition: background 0.15s ease;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tagline {
  animation: fadeUp 0.4s ease-out 0.5s both;
}

.bio {
  animation: fadeUp 0.4s ease-out 0.65s both;
}

.cta {
  animation: fadeUp 0.4s ease-out 0.8s both;
}

@media (prefers-reduced-motion: reduce) {
  .status-dot {
    animation: none;
  }

  .tagline, .bio, .cta {
    animation: none;
  }
}

.company-logo {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.bio {
  font-size: 1rem;
  line-height: 1.65;
  color: #555;
  max-width: 460px;
}

.cta {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
  max-width: 460px;
}

.cta a {
  color: #444;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.cta a:hover {
  color: #1a1a1a;
  opacity: 1;
}

/* Responsive */

@media (max-width: 760px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-photo img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-position: center center;
  }
}
