/* ===========================================================================
   About, and the data behind the site
   =========================================================================== */

/* --- about Ekatra ---------------------------------------------------------
   The simplest page here. The name at the size it deserves, what the project
   is, and a kesuda at the foot. No band, no grid, nothing in the margins. */

.aboutus {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  /* The drawing carries its own white margin, so the page adds little. */
  padding: clamp(.5rem, 2vw, 1.5rem) 0 clamp(3rem, 7vw, 5rem);
}
.aboutus__mark { margin-bottom: clamp(2rem, 5vw, 3.2rem); }
/* The paper round the drawing is trimmed off the file itself now, so the
   frame is simply the drawing: no crop, no aspect-ratio to keep in step with
   the artwork, and nothing to go wrong when a new version arrives. */
.aboutus__logo {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  margin-inline: auto;
  /* Centred by eye, not by box. The drawing's bounding box is already dead
     centre, but its weight is not: the bird is dense charcoal and the branch
     and kesuda opposite it are thin line, which puts the ink's centre of mass
     7.7% of the width to the left (measured off the file's alpha channel).
     Half of that is given back — correcting the whole way overshoots, because
     the eye reads the outline as well as the weight. */
  transform: translateX(3.9%);
}
.aboutus__gu {
  font-family: 'Noto Serif Gujarati', serif;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  margin: .6rem 0 0;
  max-width: none;
}

.aboutus__lede {
  font-size: clamp(1.15rem, 1.02rem + .6vw, 1.5rem);
  line-height: 1.55;
  margin: 0 auto clamp(2.2rem, 5vw, 3.2rem);
  max-width: 32ch;
}
.aboutus__body {
  text-align: left;
  font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem);
  line-height: 1.7;
}
.aboutus__body p { max-width: none; margin: 0 0 1.15em; }

/* The first line stands a size up, and the last of the opening block is the
   line the whole project is named for, so it does too. */
.aboutus__open, .aboutus__close {
  font-size: clamp(1.15rem, 1.02rem + .55vw, 1.42rem);
  line-height: 1.5;
  color: var(--ink);
}
.aboutus__close { margin-top: 1.6em; }

.aboutus__sect { margin-top: clamp(2.6rem, 6vw, 4rem); text-align: left; }
.aboutus__h {
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.7rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 1.1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--rule);
}
.aboutus__list { margin: 0 0 1.4em; padding: 0; list-style: none; }
.aboutus__list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .55rem;
  line-height: 1.55;
}
.aboutus__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .68em;
  width: .55rem;
  height: 1px;
  background: var(--accent);
}
.aboutus__body a { color: var(--accent); text-underline-offset: .18em; }

.aboutus__last {
  margin: clamp(2.6rem, 6vw, 4rem) auto 0;
  max-width: 34ch;
  font-size: clamp(1.15rem, 1.02rem + .55vw, 1.42rem);
  line-height: 1.45;
}
.aboutus__go { margin: 1.6rem 0 0; max-width: none; }
.aboutus__triad {
  margin: 1.4rem 0 0;
  max-width: none;
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--ink-faint);
}

.aboutus__who {
  margin: clamp(2.2rem, 5vw, 3.2rem) auto 0;
  max-width: none;
  font-size: var(--step--1);
  color: var(--ink-faint);
}
.aboutus__kesuda {
  width: clamp(4rem, 9vw, 5.8rem);
  height: auto;
  display: block;
  margin: clamp(2.5rem, 6vw, 3.6rem) auto 0;
  color: var(--accent);
}

.about { max-width: 52rem; margin-inline: auto; padding-bottom: clamp(2rem, 5vw, 3rem); }
.about__sect { margin-bottom: clamp(2.6rem, 6vw, 4rem); }
.about__body {
  font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem);
  line-height: 1.68;
}
.about__body p { max-width: none; margin: 0 0 1.1em; }
.about__onward { text-align: center; max-width: none; margin-top: clamp(2rem, 5vw, 3rem); }

/* The counts, at the size the numbers deserve. Every one of them is counted
   from the files the site serves rather than typed in, so none can go stale. */
.tally {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: clamp(1.4rem, 3vw, 2.2rem);
  margin: 0 0 clamp(3rem, 7vw, 4.5rem);
  padding: clamp(1.6rem, 4vw, 2.4rem) 0;
  border-block: 1px solid var(--rule);
  text-align: center;
}
.tally__n {
  display: block;
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.tally__k {
  display: block;
  margin-top: .5rem;
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-faint);
}

/* A photograph among the paragraphs, wider than the column they are set in so
   it breaks the reading rather than sitting inside it. */
/* Small, and inside the reading column. It was 52rem and broke out past the
   text on both sides, which made a photograph among paragraphs read as a plate
   hung on a wall. Held to 18rem it sits in the column like a figure in a book. */
.aboutus__fig {
  width: min(100%, 18rem);
  margin: clamp(2.4rem, 6vw, 3.6rem) auto;
}
.aboutus__fig img { width: 100%; height: auto; background: var(--paper-sunk); }
.aboutus__fig figcaption {
  margin-top: .6rem;
  font-size: var(--step--2);
  line-height: 1.4;
  color: var(--ink-muted);
  text-align: left;
}

/* More than two pictures: a small row rather than more breaks in the prose. */
.aboutus__row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 1.8rem);
  justify-content: center;
  margin: clamp(2.4rem, 6vw, 3.6rem) 0;
}
.aboutus__fig--row { width: min(100%, 13rem); margin: 0; }

.aboutus__credits {
  margin: clamp(2.2rem, 5vw, 3rem) 0 0;
  max-width: none;
  font-size: var(--step--2);
  line-height: 1.7;
  color: var(--ink-faint);
}
