/* Home: the square, on one screen. The inscription stands in the middle (two courses of lettering, a
   line of serif in the course below, the plate in the course below that) and the footer closes the
   same screen.
   Nothing may be added below the hero, and the hero takes no minimum height of its own: the body is
   one screen tall and main fills what the header and footer leave. */

.home { --still-shadows: url(../assets/still-home-d-shadows.webp?v=6f1dcfda); --still-people: url(../assets/still-home-d-people.webp?v=c06979d1); --still-w: 71.92;
  --still-shadows-m: url(../assets/still-home-m-shadows.webp?v=5e04fbb4); --still-people-m: url(../assets/still-home-m-people.webp?v=39b98633); --still-w-m: 18.53; }

.hero {
  display: grid; justify-items: center; align-content: start; text-align: center;
  padding: calc(var(--s) * 2) var(--mr) 0 var(--ml);
}
/* With script the inscription is set by the window's height, to the nearest course of stone. (Without
   it the page's measures follow the square alone, so the still of the crowd stays in register.) */
@supports (width: round(nearest, 1px, 1px)) {
  html.js:not(.geom) .hero {
    padding-top: max(var(--s), calc(round(nearest, (100vh - var(--s) * 4) * .42, var(--s)) - var(--s)));
    padding-top: max(var(--s), calc(round(nearest, (100svh - var(--s) * 4) * .42, var(--s)) - var(--s)));
  }
}
.hero h1 { font-size: var(--t-display); line-height: var(--s); font-weight: 440; letter-spacing: -0.036em; }
/* The two words that name what we make take the two brand
   colours, "emotionally" tangerine and "intelligent" blue, a shade deeper than the logo's so they hold
   on sunlit stone. The fill is set directly because .inlay paints its letters through a clipped ground. */
.hero h1 .t { -webkit-text-fill-color: #E56A0C; color: #E56A0C; }
.hero h1 .b { -webkit-text-fill-color: #2C5FB4; color: #2C5FB4; }
@media (forced-colors: active) { .hero h1 .t, .hero h1 .b { -webkit-text-fill-color: currentColor; color: inherit; } }
.hero .ph { display: none; }
.support {
  min-height: var(--s); padding-top: calc(var(--s) * .2);
  font-family: var(--serif); font-weight: 400;
  font-size: var(--t-lead); line-height: 1.3; letter-spacing: -0.006em;
  color: var(--inlay-s); mix-blend-mode: multiply;
}
.act { height: var(--s); display: grid; place-items: center; }

/* ---------- upright and narrow ---------- */
@media (max-width: 560px), (max-width: 760px) and (orientation: portrait) {
  .hero { padding-top: calc(var(--u) * 2.4); }
  html.js:not(.geom) .hero {
    padding-top: clamp(calc(var(--u) * 1.4), calc((100vh - var(--u) * 19.9 - 67px) * .3), calc(var(--u) * 4.5));
    padding-top: clamp(calc(var(--u) * 1.4), calc((100svh - var(--u) * 19.9 - 67px) * .3), calc(var(--u) * 4.5));
  }
  .hero h1 { line-height: 1.09; letter-spacing: -0.034em; }
  .hero .ph { display: inline; }
  .support { min-height: 0; padding-top: calc(var(--u) * 1); line-height: 1.32; }
  .act { height: auto; padding-top: calc(var(--u) * 1.45); }
  .plate { height: clamp(48px, calc(var(--u) * 2.5), 58px); padding: 0 calc(var(--u) * 1.5); font-size: clamp(16px, calc(var(--u) * .78), 18px); }
}
