/* Summertime Works — minimal landing
   The Blank Weirdos for all type. */

@font-face {
  font-family: "The Blank Weirdos";
  src:
    url("fonts/TheBlankWeirdos-Regular.woff2") format("woff2"),
    url("fonts/TheBlankWeirdos-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a1a1a;
  --meta: #666666;
  --meta-soft: #b3b3b3;
  --paper: #ffffff;
  --warm: #e8943a;
  --warm-deep: #c97828;
  --measure: 44rem;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --pad-y: clamp(1.5rem, 4vh, 2.5rem);
  --font: "The Blank Weirdos", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.59375rem, 1.425rem + 0.6vw, 1.78125rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--pad-y) var(--pad-x);
}

/* ——— Brand: top center ——— */
.brand {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.35rem;
  user-select: none;
}

.brand__wordmark {
  font-family: inherit;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--ink);
  transition: color 1.1s ease, text-shadow 1.1s ease;
  animation: wordmark-idle 14s ease-in-out 8s 1 both;
}

.brand__wordmark:hover,
.brand__wordmark:focus-visible {
  color: var(--warm-deep);
  text-shadow: 0 0 20px rgba(232, 148, 58, 0.2);
  animation: none;
  outline: none;
}

@keyframes wordmark-idle {
  0%,
  100% {
    color: var(--ink);
    text-shadow: none;
  }
  35%,
  50% {
    color: var(--warm-deep);
    text-shadow: 0 0 16px rgba(232, 148, 58, 0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand__wordmark {
    animation: none;
    transition: none;
  }
}

/* ——— Body ——— */
.body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1.25rem;
}

.body__measure {
  max-width: var(--measure);
  width: 100%;
  text-align: center;
  text-wrap: pretty;
}

.body__measure p {
  margin: 0;
  font-weight: 400;
}

/* ——— Footer ——— */
.footer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 0.15rem;
}

.footer p {
  margin: 0;
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.125rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--meta);
  text-align: center;
}

.footer__sep {
  margin: 0 0.5em;
  color: var(--meta-soft);
}

.footer__email {
  color: var(--meta);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer__email:hover,
.footer__email:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  outline: none;
}

@media (max-width: 36rem) {
  :root {
    --measure: 100%;
  }

  body {
    font-size: clamp(1.25rem, 4vw, 1.5625rem);
  }

  .footer p {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .footer__sep {
    display: none;
  }
}

@media print {
  .brand__wordmark {
    animation: none;
    color: #000 !important;
    text-shadow: none !important;
  }

  .page {
    min-height: auto;
  }
}
