@font-face {
  font-family: Anton;
  src: url("/assets/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #eaf4e8;
  --ink: #087443;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
::selection { background: var(--ink); color: var(--paper); }

.screen {
  min-height: 100vh;
  min-height: 100svh;
  padding: max(32px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vh, 56px);
}

.name {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-family: Anton, Impact, "Arial Narrow", sans-serif;
  font-size: min(43vw, 28vh, 400px);
  font-size: min(43vw, 28svh, 400px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-indent: -0.035em;
}

.name span { display: block; }

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.contact-arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform 180ms ease; }
.contact:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.contact:active { background: transparent; color: var(--ink); }

@media (hover: hover) {
  .contact:hover { background: transparent; color: var(--ink); }
  .contact:hover .contact-arrow { transform: translate(2px, -2px); }
}

@media (max-height: 440px) {
  .screen { padding-top: 20px; padding-bottom: 20px; gap: 24px; }
  .name { font-size: min(24vw, 25svh); }
}

@media (prefers-reduced-motion: reduce) {
  .contact, .contact-arrow { transition: none; }
}
