/* Page shell: the reading column, the top bar, and the full-height gate screens. */

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 22px 20px var(--drawer-h);
  min-height: 100%;
}

.eyebrow {
  font-family: var(--util);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dust);
  margin: 0;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

/* The jar cut out of the lockup. Decorative (empty alt) — the words beside it are the
   link text. The <b> keeps "Why Jar" one flex item, so the words keep their own word
   space and the gap only separates them from the jar. */
.brand .mark {
  height: 30px;
  width: auto;
  display: block;
}

.brand b {
  font-weight: inherit;
}

.brand span {
  color: var(--marigold);
}

.who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--hair);
}

.who-name {
  text-align: left;
  font-weight: 700;
}

.pip {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
  font-size: 16px;
  background: var(--c);
}

.who small {
  font-family: var(--util);
  font-size: 10px;
  color: var(--dust);
  display: block;
  line-height: 1.2;
}

/* Full-height, centred screens: welcome, pick-a-reader, name, age. */
.gate {
  display: grid;
  place-items: center;
  min-height: 74vh;
  text-align: center;
}

.gate h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 7.5vw, 68px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 14px 0 12px;
}

/* The brand lockup. An image inside the h1, so the heading semantics (and the alt
   text) survive; its background is keyed transparent, so it sits on whatever the
   gate has behind it. width/height attributes in the markup stop the gate jumping
   while it loads. */
.gate h1 .logo {
  display: block;
  width: min(440px, 84vw);
  height: auto;
  margin: 0 auto;
}

/* The same lockup, quieter — on returning-reader screens the heading does the
   talking and the brand just presides over it. */
.gate .logo-small {
  display: block;
  width: min(230px, 56vw);
  height: auto;
  margin: 0 auto 22px;
}

p.sub {
  color: var(--dust);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  max-width: 44ch;
  text-align: left;
}

.gate p.sub {
  max-width: 34ch;
  margin: 0 auto 32px;
  text-align: center;
}

.askline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 50px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 18px;
}

.rowlabel {
  margin: 32px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.backrow {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
