/* The wordmark is the page: it runs edge to edge on a gold footing.
   Colours are the marketing site's own tokens. */
:root {
  --ground: oklch(0.99 0 0);
  --ink: oklch(0.18 0 0);
  --quiet: oklch(0.42 0 0);
  --gold: oklch(0.72785 0.09887 82.082);
  --margin: clamp(1.5rem, 5vw, 4.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: oklch(0.185 0.006 85);
    --ink: oklch(0.97 0.004 85);
    --quiet: oklch(0.76 0.008 85);
  }
}

* { box-sizing: border-box; }

html { height: 100%; }

body {
  min-height: 100%;
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Arimo, Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--margin);
}

.note { max-width: 34rem; margin-bottom: clamp(2.5rem, 9vh, 6rem); }

.line {
  margin: 0;
  font-size: clamp(1.625rem, 4.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.contact {
  margin: 1.25rem 0 0;
  color: var(--quiet);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.contact a {
  color: var(--ink);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.contact a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.mark { margin: 0; line-height: 0; }
.mark svg { display: block; width: 100%; height: auto; }

.rule {
  height: clamp(4px, 0.7vw, 10px);
  margin-top: clamp(0.75rem, 1.6vw, 1.5rem);
  background: var(--gold);
  transform-origin: left;
  animation: lay 1.4s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

@keyframes lay { from { transform: scaleX(0); } }

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