:root {
  --ink: #08060d;
  --muted: #5d5568;
  --violet: #7a1fd1;
  --violet-deep: #5a14a0;
  --tint: #f5effd;
  --ground: #ffffff;
  color-scheme: light;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--tint); color: var(--violet-deep); }

.page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 48px clamp(16px, 7vw, 112px);
}

/* The brand mark, oversized and cropped by the right edge. */
.mark {
  position: absolute;
  right: -14vw;
  top: 50%;
  width: min(78vw, 980px);
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.copy {
  position: relative;
  max-width: 34rem;
}

.wordmark {
  display: block;
  width: 184px;
  height: auto;
  margin-bottom: clamp(40px, 8vh, 88px);
}

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 9vw, 7.5rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.line {
  margin: 28px 0 0;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.5;
  color: var(--muted);
}

.contact {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}

.contact:hover { background: var(--violet-deep); }

.contact:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}

/* Phone: the mark sits above the words, still cropped by the edge. */
@media (max-width: 760px) {
  .page {
    align-items: flex-start;
    padding-top: 0;
    padding-bottom: 56px;
  }
  .mark {
    top: -6vw;
    right: -22vw;
    width: 96vw;
    transform: none;
  }
  .copy { padding-top: 76vw; }
  .wordmark { width: 148px; margin-bottom: 28px; }
}
