/* Placeholder business card — layout only. Palette lives in tokens.css. */

body {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 6vw, 5rem);
}

.card {
  width: 100%;
  max-width: 34rem;
}

/* Footer holds one quiet maker's mark and nothing else. It rides at the foot of the
   page without taking part in centring the card above it. */
.site-footer {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(1.25rem, 3.5vw, 2rem);
  display: flex;
  justify-content: center;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 8vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.line {
  margin: clamp(0.9rem, 3vw, 1.35rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.075rem);
  text-wrap: pretty;
}

.contact {
  margin: clamp(2.25rem, 7vw, 3.5rem) 0 0;
  padding-top: clamp(1.25rem, 4vw, 1.75rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 1.5rem;
  align-items: baseline;
}

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

.contact dd {
  margin: 0;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.contact a:hover,
.contact a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Quiet inline link used by the 404 card (no inline style attribute, so the
   enforced CSP can stay `style-src 'self'` with no 'unsafe-inline'). */
.link-quiet {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.link-quiet:hover,
.link-quiet:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (max-width: 26rem) {
  .contact {
    grid-template-columns: 1fr;
    gap: 0.15rem 0;
  }

  .contact dd {
    margin-bottom: 0.85rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .contact a {
    transition: color 120ms ease, border-color 120ms ease;
  }
}

/* The e/acc mark: the page's only footer element. */
.mark {
  color: var(--muted);
}

.mark svg {
  display: block;
  width: 1.0625rem;
  height: 1.0625rem;
}

/* Same construction as the original mark: plate, a cut-out sweep, an inner rule. */
.mark .plate {
  fill: currentColor;
}

.mark .sweep {
  fill: var(--bg);
  stroke: currentColor;
  stroke-width: 7.04;
}

.mark .inner {
  fill: none;
  stroke: currentColor;
  stroke-width: 5.87;
}

.mark:hover,
.mark:focus-within {
  color: var(--accent);
}
