/* Johan Raes — holding page
   Losse CSS, geen build. Alles in tokens, zodat prutsen makkelijk blijft. */

:root {
  --paper:      #e9e8e3;
  --ink:        #16181c;
  --ink-mid:    #8a8a82;
  --spot:       #2b33c4;
  --spot-tint:  #6e72d9;

  --edge:       rgba(22, 24, 28, 0.14);

  --sans: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(1.5rem, 5vw, 5rem);
  --rule:   clamp(2.5rem, 7vh, 5rem);
}

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

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

body {
  margin: 0;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

/* ---- sheet ------------------------------------------------------------ */

.sheet {
  min-height: 100svh;
  padding: var(--gutter);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--rule);
}

.sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sheet__body {
  align-self: center;
  max-width: 62rem;
}

.sheet__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--edge);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

/* ---- registration mark + ink swatches --------------------------------- */

.reg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.inks {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inks li {
  width: clamp(1.5rem, 4vw, 2.75rem);
  height: 0.5rem;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px var(--edge);
}

/* ---- type ------------------------------------------------------------- */

.name {
  margin: 0;
  display: grid;
  font-size: clamp(3.75rem, 15vw, 11.5rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.045em;
}

.line {
  margin: clamp(1.75rem, 4vh, 2.75rem) 0 0;
  max-width: 34ch;
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  line-height: 1.45;
  text-wrap: pretty;
}

/* ---- contact ---------------------------------------------------------- */

.contact {
  margin: clamp(2.25rem, 6vh, 3.5rem) 0 0;
  display: grid;
  grid-template-columns: minmax(6rem, max-content) 1fr;
  align-items: baseline;
  gap: 0.5rem 2rem;
}

.contact dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.contact dd {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--edge);
  transition: color 120ms ease, text-decoration-color 120ms ease;
}

a:hover {
  color: var(--spot);
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid var(--spot);
  outline-offset: 4px;
  border-radius: 1px;
}

/* ---- small screens ---------------------------------------------------- */

@media (max-width: 32rem) {
  .contact {
    grid-template-columns: 1fr;
    gap: 0.125rem;
  }
  .contact dd + dt { margin-top: 1rem; }
}
