/* Home page sections, top to bottom. Shared parts are in site.css, the header
   navigation in nav.css, the section frame and footer in frame.css. Sizes are
   in cqw against the .page container, as in the approved reference build. */
/* Forest hero. The canvas is the ink landscape (fuji.js); it must stay a direct
   child of the header, which the script measures. */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--ivory);
  padding: clamp(24px, 3cqw, 44px) var(--gutter) clamp(150px, calc(330px - 12cqw), 280px);
}
.hero-ink {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7cqw, 104px);
}

/* Approach: the statement left, three numbered rows right. */
.approach-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px clamp(48px, 8cqw, 120px);
}
.approach-intro {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.approach-intro p { margin: 0; max-width: 30em; text-wrap: pretty; }
/* The character sits beside the sentence that explains it, as in a dictionary entry. */
.approach-word { display: flex; align-items: flex-start; gap: 24px; }
.approach-kanji { flex: none; display: block; width: 68px; height: auto; margin: 2px 0 0 -6px; }

/* Contact: the page's one action. Each portrait opens that person's card. */
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px clamp(48px, 6cqw, 88px);
}
.contact-intro {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.contact-title { color: var(--forest); }
.contact-intro p { margin: 0; }
.contact-intro .button-scroll { margin-top: 12px; }
.contact-lede { text-wrap: pretty; }

.people {
  flex: 999 1 560px;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 40px 32px;
}
.person {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
}
.person img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
/* Crops set per photograph so each face sits at the same height in its frame. */
.portrait-aidan { object-position: 50% 20%; }
.portrait-jeremy { object-position: 50% 50%; }
.portrait-sheree { object-position: 50% 12%; }

.person-name { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.person-role { font-size: 15px; line-height: 1.4; }
/* The whole entry is the link, so the button answers to it. */
.person .button-scroll { align-self: flex-start; margin-top: 20px; }
.person:hover .button-scroll::before,
.person:focus-visible .button-scroll::before { translate: -6px 0; }
.person:hover .button-scroll::after,
.person:focus-visible .button-scroll::after { translate: 6px 0; }
.person:active .button-scroll { translate: 0 1px; }
