/* Odd Little Logic holding page. Static, no scripts, no web fonts: the wordmark lives in the supplied SVG lockup. */

:root {
  --cream: #f8f3e8;
  --charcoal: #202523;
  --coral: #ee5835;
  --muted: #474c49;              /* about 8:1 on cream */
  --rule: rgba(32, 37, 35, 0.16);
  color-scheme: light;
}

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

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

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--cream);
  color: var(--charcoal);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--coral); color: var(--charcoal); }

img { display: block; max-width: 100%; height: auto; }

/* Centred composition */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vh, 96px) clamp(20px, 6vw, 64px) clamp(24px, 4vh, 48px);
  text-align: center;
}

.lockup {
  margin: 0;
  line-height: 0;
}

.lockup picture { display: block; }
.lockup img { width: min(84vw, 36rem); }

.soon {
  margin: clamp(28px, 5vh, 48px) 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: clamp(1rem, 0.94rem + 0.35vw, 1.15rem);
  line-height: 1.55;
  text-wrap: balance;
}

.soon__status {
  display: inline;
  margin-left: 0.35em;
  color: var(--charcoal);
  font-weight: 650;
  white-space: nowrap;
}

.soon__dot {
  display: inline-block;
  margin-right: 0.45em;
  vertical-align: 0.12em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--coral);
  animation: blink 2.8s ease-in-out infinite;
}

@keyframes blink {
  0%, 70%, 100% { opacity: 1; }
  80% { opacity: 0.25; }
}

/* Links */
.links { margin-top: clamp(24px, 4vh, 36px); }

.links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.links a {
  display: inline-block;
  min-width: 9.5rem;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--charcoal);
  border-radius: 999px;
  color: var(--charcoal);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.links a:hover {
  background: var(--charcoal);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--coral);
}

.links a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

/* Footer */
.footer {
  padding: 0 20px clamp(20px, 3vh, 32px);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.footer p { margin: 0; }

/* Narrow screens get the stacked lockup (see <picture>), so the tagline stays readable. */
@media (max-width: 480px) {
  .lockup img { width: min(100%, 22.5rem); }
}

@media (max-width: 400px) {
  .page { padding-inline: 10px; }
  .soon__status { display: block; margin: 0.35em 0 0; }
  .links ul { flex-direction: column; align-items: stretch; width: min(100%, 16rem); margin-inline: auto; }
  .links a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .soon__dot { animation: none; }
  .links a { transition: none; }
  .links a:hover { transform: none; }
}
