/* Panthee — single-page site.
   Modelled on the "digital business card" format: one screen, no navigation. */

:root {
  --paper:      #f5f4f1;
  --ink:        #14181c;
  --ink-muted:  #6d7379;
  --rule:       #d5d2cb;

  --measure:    30rem;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:     #0e1216;
    --ink:       #e8e6e1;
    --ink-muted: #8b9198;
    --rule:      #262c33;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;

  padding: 2rem 1.5rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: var(--measure);
  text-align: center;
}

.wordmark {
  margin: 0;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.42em;
  /* Letterspacing adds trailing space; nudge back so the word reads centred. */
  text-indent: 0.42em;
  text-transform: uppercase;
}

.descriptor {
  margin: 1.5rem 0 0;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rule {
  width: 3rem;
  margin: 2.75rem auto;
  border: 0;
  border-top: 1px solid var(--rule);
}

.contact {
  font-style: normal;
  font-size: 0.9375rem;
}

.contact .line {
  display: block;
}

.contact a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}

.contact a:hover,
.contact a:focus-visible {
  border-bottom-color: currentColor;
}

.fine {
  margin: 4rem 0 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
