/* Proficio Consulting Group: the home page's first screen. */

/* The tagline: three sentences, one to a line. The last one takes the green accent. */
.tagline { font-size: var(--size-hero); line-height: var(--leading-tight); font-weight: 300; letter-spacing: -0.02em;
  font-stretch: 100%; text-wrap: wrap; }
.tagline span { display: block; white-space: nowrap; }
.tagline span:last-child { font-weight: 500; }
.navy .tagline span:last-child { color: var(--accent-on-navy); }

/* The contact: the invitation as a small heading, then the email and phone as two plain links. */
.reach { display: grid; gap: var(--s-2); }
.reach__say { font-family: var(--font-head); font-stretch: var(--wdth-head); font-weight: 600; font-size: var(--size-h3); }
.reach__links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-7); }
.reach__links .icon-link { font-size: var(--size-lead); font-weight: 600; text-decoration-line: underline;
  text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.navy .reach__links .icon-link { text-decoration-color: var(--accent-on-navy); }
.reach__links .icon-link:hover { text-decoration-color: currentColor; }

/* Solid navy. The words on the left; on the right one photograph, from the middle of the screen to its right edge,
   the full height of the section. The box is never larger than the picture file. */
.hero-c { display: grid; align-items: center; min-height: min(var(--hero-min), 100vh); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); padding-block: var(--s-8); }
.hero__say { display: grid; gap: var(--s-6); align-content: center; }
.hero__say .lead { color: var(--on-navy-soft); max-width: 52ch; }
.hero__pic { position: absolute; top: 0; bottom: 0; right: 0; width: min(50vw - var(--s-6), var(--pic-max)); overflow: hidden; }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 82% 50%; }

@media (max-width: 62rem) {
  .hero-c { display: block; min-height: 0; }
  .hero__in { grid-template-columns: minmax(0, 1fr); padding-block: var(--s-7); }
  .hero__pic { position: static; width: auto; aspect-ratio: 16 / 9; }
  .hero__pic img { object-position: 60% 50%; }
}
@media (max-width: 40rem) {
  .hero__in { padding-block: var(--s-6) var(--s-7); }
  .hero__say { gap: var(--s-5); }
  .hero__pic { aspect-ratio: 3 / 2; }
  .reach__links { display: grid; gap: 0; }
}
