@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ground: #4B275F; /* Elixir purple */
  --name: #FFC9BF;   /* ruby, thinned */
  --text: #F6EEF7;
  --quiet: #D8C6E0;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; }

html { background: var(--ground); }

body {
  color: var(--text);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

main {
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto auto;
  gap: clamp(32px, 5vh, 64px) var(--gutter);
  align-items: end;
}

h1 {
  grid-column: 1 / -1;
  align-self: start;
  color: var(--name);
  /* Capped by height so the text below stays on a laptop screen. */
  font-size: min(25vw, 23vh);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.015em;
  margin-left: -0.03em;
}

h1 span { display: block; }

.text { max-width: 34em; }

.lead {
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 0.5em;
}

.contact {
  color: var(--quiet);
  font-size: 0.875rem;
}

.legal {
  grid-column: 1 / -1;
  color: var(--quiet);
  font-size: 0.8125rem;
}

@media (max-width: 640px) {
  main { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 25vw; }
}
