/* Envoia coming soon. No external fonts, scripts or trackers. */
:root {
  --night: #15233f;
  --night-deep: #0f1a31;
  --paper: #eef1f6;
  --mist: #a3afc6;
  --lamp: #e6b34a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--night);
  color: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font: 1.0625rem/1.6 var(--sans);
  background: linear-gradient(180deg, var(--night-deep) 0%, var(--night) 60%);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

main {
  flex: 1;
  width: min(100%, 68rem);
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 9rem) clamp(1.25rem, 5vw, 3rem) 3rem;
}

/* The headline is the one bold element: two envoys at either end of the table. */
.meet {
  margin: 0 0 clamp(2.5rem, 8vh, 5rem);
  font: 400 clamp(2.4rem, 7.2vw, 5.6rem)/1.02 var(--serif);
  letter-spacing: -0.01em;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "a table"
    "b b";
  align-items: center;
  column-gap: clamp(1rem, 3vw, 2rem);
  row-gap: 0.15em;
  text-wrap: balance;
}

.side-a { grid-area: a; }

.side-b {
  grid-area: b;
  justify-self: end;
  text-align: right;
  font-style: italic;
}

.table {
  grid-area: table;
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, var(--mist), rgba(163, 175, 198, 0.15));
}

/* where the two conversations meet */
.seat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--lamp);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0.35rem rgba(230, 179, 74, 0.12);
}

.copy {
  max-width: 36rem;
}

.copy p {
  margin: 0 0 1em;
  color: var(--paper);
}

.copy .when {
  margin-top: 2em;
  color: var(--mist);
}

footer {
  width: min(100%, 68rem);
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 5vw, 3rem) 2rem;
  color: var(--mist);
  font: 400 1rem/1 var(--serif);
}

@media (max-width: 34rem) {
  .meet {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "table" "b";
    row-gap: 0.4em;
  }

  .table { width: 100%; }
}
