/* Conodos holding page.
   Palette: cool greys with one coral accent. Type: Urbanist, the closest
   open match to the geometric letterforms of the wordmark. */
:root {
  --paper: #f4f4f6;   /* page background */
  --line: #d2d2d4;    /* hairlines */
  --ink: #141414;     /* headline and wordmark */
  --body: #4b4b50;    /* paragraph text */
  --quiet: #77777c;   /* footer */
  --accent: #ff634a;  /* coral, used sparingly */
  --measure: 46rem;   /* width of the wordmark and text block */
  --gutter: clamp(1.5rem, 6vw, 5rem);
  --font: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html,
body {
  min-height: 100%;
}

body {
  background: var(--paper);
  color: var(--body);
  font-family: var(--font);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* Three rows: mark, content, footer. Everything is left aligned on one edge. */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--gutter);
  pointer-events: none;
}

.page a {
  pointer-events: auto;
}

.mark {
  display: block;
  width: 40px;
  height: 40px;
}

.main {
  align-self: center;
  max-width: var(--measure);
  padding: clamp(2.5rem, 8vh, 5rem) 0;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.lede {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  max-width: 24ch;
  text-wrap: balance;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.detail {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 4vw, 3rem);
}

.detail p {
  text-wrap: pretty;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.email {
  display: inline-block;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: 0.3rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  transition: color 0.2s ease;
}

.email:hover {
  color: var(--accent);
}

.email:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}

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

@media (max-width: 640px) {
  .detail {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .email {
    transition: none;
  }
}
