:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #1c1e1a;
  background: #f3ff5b;
  font-synthesis: none;
  --space: clamp(1.5rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
body { margin: 0; }
p, h1 { margin: 0; }
::selection { background: #1c1e1a; color: #f3ff5b; }

.page {
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.5rem, 3vw, 3rem) var(--space);
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.wordmark {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.specialty {
  font-size: 1rem;
  line-height: 1.4;
  text-align: right;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 10vh, 8rem) 0;
}

.eyebrow {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.75rem, 10vw, 9.5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.065em;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  border-top: 1px solid #1c1e1a;
  padding-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  padding: 0.5rem 0;
}

.footer a:hover { text-decoration-thickness: 2px; }
.footer a:focus-visible { outline: 2px solid #1c1e1a; outline-offset: 5px; }

@media (max-width: 480px) {
  .header { gap: 1rem; flex-wrap: wrap; }
  .wordmark { font-size: 1.4rem; }
  .specialty { font-size: 0.875rem; }
  main { padding: 5rem 0; }
  .eyebrow { margin-bottom: 1.25rem; }
}
