:root {
  --paper: #e6e6e6;
  --mist: #c9c9c9;
  --graphite: #8a8a8a;
  --ink: #3a3a3a;
  --black: #111111;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: var(--black);
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(45deg, #d7d7d7 0 1px, #dcdcdc 1px 2px, #d0d0d0 2px 3px, #dfdfdf 3px 4px);
  background-size:
    3px 3px,
    3px 3px,
    8px 8px;
  font-family: "Courier New", Courier, monospace;
}

.page {
  width: min(100vw, 430px);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  animation: page-enter 700ms ease both;
}

.hero-card {
  border: 2px solid var(--black);
  background: var(--white);
  padding: 12px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.profile-picture {
  width: 92px;
  height: 92px;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  border: 2px solid var(--black);
  background: var(--white);
}

.full-name {
  margin: 0;
  text-align: left;
  font: 900 22px/1.05 Arial Black, Impact, sans-serif;
  letter-spacing: 0.01em;
  text-transform: none;
}

.tagline {
  margin: 0;
  text-align: left;
  font-size: 12px;
  line-height: 1.35;
  max-width: none;
}

.page-description {
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}

.newsletter-card {
  border: 2px solid var(--black);
  background: var(--white);
  padding: 12px;
}

.latest-episode-card {
  border: 2px solid var(--black);
  background: var(--white);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.latest-label {
  margin: 0;
  font: 700 12px/1.2 "Courier New", Courier, monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.latest-episode-link {
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  font: 700 13px/1.4 "Courier New", Courier, monospace;
}

.latest-meta {
  margin: 0;
  font-size: 12px;
  color: var(--ink);
}

.newsletter-card h2 {
  margin: 0 0 10px;
  font: 900 14px/1.1 Arial Black, Impact, sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.newsletter-card form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
}

.newsletter-card input {
  width: auto;
  flex: 1;
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  padding: 10px;
  font: 400 14px/1.2 "Courier New", Courier, monospace;
}

.subscribe-arrow {
  width: 48px;
  min-width: 48px;
  border: 2px solid var(--black);
  background: var(--black);
  color: var(--white);
  font: 700 20px/1 "Courier New", Courier, monospace;
  cursor: pointer;
}

.subscribe-arrow:hover,
.subscribe-arrow:focus-visible {
  background: var(--ink);
}

.btn {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  text-align: center;
  padding: 12px 14px;
  font: 700 13px/1.15 "Courier New", Courier, monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    transform 120ms ease,
    background-color 120ms ease,
    color 120ms ease;
}

.btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.btn-primary img {
  filter: brightness(0) invert(1);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--ink);
}

.btn-disabled {
  background: var(--mist);
  color: var(--ink);
  cursor: not-allowed;
  opacity: 0.85;
}

.btn-disabled img {
  filter: none;
  opacity: 0.7;
}

.btn-disabled:hover,
.btn-disabled:focus-visible {
  transform: none;
  background: var(--mist);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn:focus-visible,
.icon-link:focus-visible,
input:focus-visible {
  outline: 2px solid var(--graphite);
  outline-offset: 2px;
}

.socials {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 14px;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.icon-link {
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  color: var(--black);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 56px;
  line-height: 0;
  text-decoration: none;
}

.icon-link img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.animate-item {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 380ms ease,
    transform 380ms ease;
}

.animate-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (prefers-reduced-motion: reduce) {
  .btn,
  .icon-link {
    transition: none;
  }
}

