/* HighBenchmark - coming-soon page and legal pages.
   Static and self-contained: every asset is served from this site. */

@font-face {
  font-family: "Sora";
  src: url("fonts/sora-latin-wght-normal.woff2") format("woff2-variations"),
       url("fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
       url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Brand tokens, locked 05.11.2026. Teal marks only what cleared the line. */
:root {
  --ground: #f5f3ee;
  --ink: #0d1321;
  --text: #1d1d1f;
  --muted: #5a6070;
  --steel: #8a93a6;
  --card: #ffffff;
  --hair: #e3e0d8;
  --bar: #e4e2dc;
  --teal: #2fe0b8;
  --level: #0a8570;

  --gutter: clamp(1rem, 4vw, 3rem);
  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* running text: Hanken Grotesk (locked 05.11 02:51); Sora 650 for headings and the name */
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--hair);
  transition: text-decoration-color 160ms ease;
}
a:hover {
  text-decoration-color: currentColor;
}
a:focus-visible {
  outline: 2px solid var(--level);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Shell */
.site-header,
.site-footer {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1.25rem var(--gutter);
}
.wordmark img {
  width: 1.75rem;
  height: 1.75rem;
}
.wordmark {
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.descriptor {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.site-footer {
  justify-content: center;
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

/* Coming-soon page: one calm screen and one moment - the mark's curve
   draws itself and turns teal where it clears the line. */
.holding {
  --ground: #0d1321;
  --ink: #f5f3ee;
  --text: #f5f3ee;
  --muted: #a3a9b8;
  --hair: rgb(245 243 238 / 0.18);
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgb(47 224 184 / 0.07), transparent 70%),
    var(--ground);
  color: var(--text);
  color-scheme: dark;
}
.holding a:focus-visible {
  outline-color: var(--teal);
}

.hero {
  display: grid;
  place-items: center;
  padding: 0.5rem var(--gutter) 1.5rem;
  text-align: center;
}
.statement {
  max-width: 46rem;
}

.crossing {
  display: block;
  width: min(25rem, 80vw, 44vh);
  height: auto;
  margin: 0 auto clamp(1rem, 3.5vh, 2.25rem);
  overflow: visible;
}
.crossing .line {
  stroke: #4a5670;
  stroke-width: 3;
  stroke-dasharray: 10 8;
  animation: fade 900ms ease-out both;
}
.crossing .curve {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1700ms cubic-bezier(0.65, 0, 0.35, 1) 400ms forwards;
}
.crossing .below {
  stroke: #f5f3ee;
}
.crossing .above {
  stroke: var(--teal);
}
.crossing .dot {
  fill: var(--teal);
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: pop 500ms cubic-bezier(0.3, 1.6, 0.5, 1) 2000ms forwards;
}
.crossing .ring {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: ring 4s ease-out 2600ms infinite;
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
@keyframes pop {
  to { transform: scale(1); }
}
@keyframes ring {
  0% { opacity: 0.7; transform: scale(1); }
  45%, 100% { opacity: 0; transform: scale(2.6); }
}

.statement h1 {
  margin: 0;
  font-family: var(--font);
  font-weight: 650;
  font-size: clamp(2.25rem, min(5.6vw, 8.5vh), 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.statement p {
  margin: 1.1rem auto 0;
  max-width: 34ch;
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.65vw, 1.3rem);
  line-height: 1.45;
  color: var(--muted);
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.875rem;
  padding: 0 1.375rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.pill-solid {
  background: var(--ink);
  color: #0d1321;
}
.pill-solid:hover {
  background: #ffffff;
}
.pill-ghost {
  border: 1px solid var(--hair);
}
.pill-ghost:hover {
  border-color: rgb(245 243 238 / 0.5);
}
.holding .site-footer {
  justify-content: center;
}

/* Impressum and privacy */
.legal main {
  padding: clamp(2rem, 8vh, 5rem) var(--gutter) clamp(3rem, 10vh, 6rem);
}
.legal article {
  max-width: 66ch;
  margin: 0 auto;
}
.legal h1,
.legal h2 {
  font-family: var(--font);
}
.legal h1 {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-weight: 650;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.legal .lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
}
.legal .rule {
  height: 2px;
  margin: 0 0 2.5rem;
  background: var(--teal);
  width: 4rem;
}
.legal h2 {
  margin: 2.5rem 0 0.5rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.legal h3 {
  margin: 1.75rem 0 0.25rem;
  font-weight: 600;
  font-size: 1.0625rem;
}
.legal article p,
.legal article ul,
.legal article address {
  margin: 0 0 1rem;
}
.legal ul {
  padding-left: 1.25rem;
}
.legal li + li {
  margin-top: 0.35rem;
}
.legal address {
  font-style: normal;
}
.legal strong {
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .crossing .line,
  .crossing .curve,
  .crossing .dot,
  .crossing .ring {
    animation: none;
  }
  .crossing .curve {
    stroke-dashoffset: 0;
  }
  .crossing .dot {
    transform: none;
  }
  .pill,
  a {
    transition: none;
  }
}
