:root {
  color-scheme: light;
  --bg: #f7f8f2;
  --text: #11140f;
  --muted: #4f5c48;
  --accent: #6f7d3f;
  --accent-strong: #586433;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

.landing {
  width: min(92vw, 960px);
  padding: 48px 20px;
  text-align: center;
}

.brand {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.7rem, 9vw, 6.7rem);
  font-weight: 500;
  line-height: 1;
  opacity: 0;
  animation: fade-in-up 720ms ease forwards;
  animation-delay: 620ms;
}

.brand-logo {
  width: clamp(104px, 18vw, 180px);
  height: clamp(104px, 18vw, 180px);
  display: block;
  margin: 0 auto 24px;
  object-fit: contain;
  opacity: 0;
  animation: fade-in-up 720ms ease forwards;
  animation-delay: 120ms;
}

.profile-links {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  animation: fade-in-up 720ms ease forwards;
  animation-delay: 1120ms;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-link {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid rgba(79, 92, 72, 0.28);
  border-radius: 50%;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.social-link svg {
  width: 26px;
  height: 26px;
  display: block;
  fill: currentColor;
}

.social-link[href*="instagram"] svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--text);
  border-color: rgba(17, 20, 15, 0.55);
  transform: translateY(-1px);
}

.social-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.service-link {
  min-width: 148px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: #fff;
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.service-link:hover,
.service-link:focus-visible {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.service-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .brand-logo,
  .profile-links {
    opacity: 1;
    animation: none;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .brand-logo {
    width: clamp(88px, 28vw, 124px);
    height: clamp(88px, 28vw, 124px);
    margin-bottom: 18px;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }
}
