/* raegune.ca landing page.
   Served under a strict CSP: keep all styling in this file
   (no <style> blocks, no style= attributes, no off-site assets).

   Yellow is only ever a surface with dark text on it, or text on the
   dark page. It never carries text or thin lines on a white page. */

:root {
  --yellow: #ffff00;          /* same value as the email signature bar */
  --on-yellow: #1f1f1f;
  --on-yellow-muted: #5a5700;
  --outline: #333333;         /* the signature bar's outline */
  --paper: #ffffff;
  --ink: #222222;
  --muted: #767676;           /* the signature's label grey */
  --focus: #222222;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b1b1b;
    --ink: #ededed;
    --muted: #a6a6a6;
    --focus: #ffff00;
  }
}

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

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Lucida Console", "Liberation Mono", Cousine, Menlo,
    "DejaVu Sans Mono", monospace;
  font-size: 100%;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
}

.wrap {
  max-width: 46rem;
  margin-left: clamp(0rem, calc(11vw - 3rem), 9rem);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* The yellow band: the signature's bar, scaled up to hold the name. */

.band {
  background: var(--yellow);
  color: var(--on-yellow);
  border-bottom: 1px solid var(--outline);
  padding-top: clamp(3rem, 16vh, 8rem);
  padding-bottom: clamp(1.5rem, 5vh, 2.5rem);
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 8vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.pronouns {
  color: var(--on-yellow-muted);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}

.role {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
}

main {
  padding-top: clamp(2rem, 6vh, 3.5rem);
  padding-bottom: 4rem;
}

.intro {
  max-width: 36rem;
  margin: 0;
}

/* Label / value rows, as in the signature. */

.links {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1.25rem;
  row-gap: 1.4rem;
  align-items: baseline;
  margin: 2.5rem 0 0;
}

.links dt {
  color: var(--muted);
}

.links dd {
  margin: 0;
}

.links a {
  display: inline-block;
  padding: 0.15em 0.5em;
  background: var(--yellow);
  color: var(--on-yellow);
  border: 1px solid var(--outline);
  font-weight: 700;
  text-decoration: none;
}

.links a:hover {
  background: var(--on-yellow);
  color: var(--yellow);
}

.links a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.links dd p {
  max-width: 34rem;
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
