:root {
  color-scheme: light;
  --ink: #080300;
  --paper: #eee9d7;
  --amber: #f8be11;
  --orange: #f7931e;
  --cerise: #d64d65;
  font: 100%/1.55 system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
}

main {
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2rem;
  padding: clamp(2.5rem, 8vw, 6rem) 1.5rem;
  text-align: center;
  background: linear-gradient(125deg, #f8be1120, transparent 57%, #d64d651c);
}

.logo {
  display: block;
  width: min(100%, 24rem);
  height: auto;
  margin-inline: auto;
}

.tagline {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 650;
}

.message {
  width: min(100%, 44rem);
  padding: clamp(1.35rem, 4vw, 3rem);
  border: 4px solid var(--ink);
  background: white;
  box-shadow: 8px 8px var(--ink);
}

.message::before {
  content: "";
  display: block;
  width: 5rem;
  height: 0.45rem;
  margin: 0 auto 1.3rem;
  background: var(--orange);
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.15;
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.contact {
  display: inline-block;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  overflow-wrap: anywhere;
  color: var(--ink);
  background: var(--amber);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px var(--ink);
  font-weight: 700;
}

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

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  border-top: 6px solid var(--amber);
  color: var(--paper);
  background: var(--ink);
  font-size: 0.875rem;
}
