:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #000000;
  --muted: #737373;
  --accent: #000000;
  --name-font: "Short Stack", "Marker Felt", "Comic Sans MS", cursive;
  --body-font: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  --duration: 800ms;
  --timing: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --text: #ffffff;
    --muted: #888888;
    --accent: #ffffff;
  }
}

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

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 200ms ease, transform 200ms ease;
  display: inline-block;
}

a:hover {
  opacity: 0.6;
}

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

.page {
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.layout {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 7vh, 5rem);
}

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

.kicker {
  color: var(--muted);
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1 {
  font-family: var(--name-font);
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.01em;
}

p {
  font-size: clamp(1rem, 1.65vw, 1.28rem);
  line-height: 1.55;
  font-weight: 400;
  max-width: 34rem;
  text-wrap: balance;
}

.content {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 5vh, 3.75rem);
}

.section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-title {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.principles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.principles li {
  font-size: clamp(1rem, 1.65vw, 1.24rem);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.principles li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--text);
  border-radius: 50%;
}

.contact-list {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-style: normal;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  color: var(--muted);
}

.contact-list a:hover {
  opacity: 1;
  color: var(--text);
  transform: translateY(-1px);
}

.contact-list svg {
  width: 1.1rem;
  height: 1.1rem;
}

.fade-in {
  animation: fadeUp var(--duration) var(--timing) both;
}

.fade-in-delay-1 {
  animation-delay: 150ms;
}

.fade-in-delay-2 {
  animation-delay: 300ms;
}

.fade-in-delay-3 {
  animation-delay: 450ms;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (max-width: 640px) {
  .page {
    padding: 1.5rem;
    align-items: flex-start;
  }

  .layout {
    gap: 2.75rem;
  }
}

@media (min-width: 720px) {
  .section-note p {
    max-width: none;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
  }
}
