/* The hero highlights share a palette, but have distinct compositions. */
.hero-showcase {
  position: absolute;
  z-index: 5;
  inset: 725px 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-inline: max(4.5%, calc((100% - 1340px) / 2));
  pointer-events: none;
  text-align: left;
  color: #205169;
}
.craft-pass, .project-pass {
  pointer-events: auto;
  flex: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.craft-pass {
  box-sizing: border-box;
  width: 270px;
  height: 174px;
  padding: 14px 17px 13px;
  border: 1px solid #fff;
  border-radius: 18px;
  background: #f8fdfff2;
  box-shadow: 0 16px 34px -19px #1b638c52, 0 1px 4px #225d7810;
  transform: rotate(-2deg);
}
.craft-pass-heading, .project-pass-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font: 600 .75rem/1.3 var(--sans);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.craft-pass-heading { padding: 1px 2px 10px; color: #4a7286; font-size: .75rem; }
.craft-pass-heading svg, .project-pass-heading svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: #299fc7;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.craft-focus {
  padding: 13px 2px 0;
  border-top: 1px solid #cde7f1;
}
.craft-focus-kicker {
  display: block;
  margin-bottom: 8px;
  color: #43809b;
  font: 650 .66rem/1.2 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.craft-focus p {
  margin: 0;
  color: #315b70;
  font: 500 .98rem/1.16 var(--sans);
}
.craft-focus p em {
  color: #14455f;
  font: italic 2rem/1.02 var(--serif);
  letter-spacing: -.025em;
  white-space: nowrap;
}
.craft-focus-details {
  display: block;
  margin-top: 13px;
  color: #58798a;
  font: 500 .69rem/1.35 var(--sans);
  letter-spacing: .015em;
}
.craft-focus-details i { padding-inline: 4px; color: #42a9cc; font-style: normal; }
.project-pass {
  box-sizing: border-box;
  width: 250px;
  height: 192px;
  margin-top: 8px;
  border: 1px solid #f6fdff;
  border-radius: 22px;
  background: linear-gradient(125deg, #effbff, #bfe7f7);
  box-shadow: 0 18px 40px -16px #1b638c55, 0 2px 5px #225d7812;
  transform: rotate(4deg);
  overflow: hidden;
}
.project-pass-content { padding: 15px 19px 11px; }
.project-pass-heading { color: #3f6f84; letter-spacing: .06em; font-size: .75rem; }
.project-pass-stat > strong { display: flex; align-items: flex-start; margin: 12px 0 0; font: 500 4.35rem/.92 var(--sans); letter-spacing: -.075em; color: #174d69; }
.project-pass-stat > strong > span { margin: 6px 0 0 4px; font: 400 1.9rem/1 var(--sans); letter-spacing: 0; color: #208ab7; }
.project-pass-stat > p { margin: 5px 0 0; font: 400 .78rem/1.2 var(--sans); white-space: nowrap; color: #315d72; letter-spacing: -.025em; }
.project-pass-stat em { font-style: normal; font-weight: 600; color: #174d69; }
.project-pass-categories { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 19px; border-top: 1px dashed #80b6cb; background: #f5fcffb8; font: 500 .78rem/1.2 var(--sans); color: #3d6b80; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .craft-pass:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 22px 42px -16px #1b638c66; }
  .project-pass:hover { transform: translateY(-4px) rotate(2deg); box-shadow: 0 22px 42px -16px #1b638c66; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .hero-showcase { padding-inline: 3%; top: 726px; }
}
/* On smaller screens the cards follow the portrait at readable sizes. */
@media (max-width: 900px) {
  .hero { height: auto; min-height: 0; padding-bottom: 16px; }
  .hero-art { position: relative; top: auto; bottom: auto; left: auto; width: min(440px, 100%); height: 410px; margin: 16px auto -42px; transform: none !important; }
  .hero-showcase { position: relative; inset: auto; padding: 0 24px; margin: 0 auto; width: 100%; max-width: 680px; gap: 24px; align-items: center; }
  .craft-pass { flex: 1.15; width: auto; }
  .project-pass { flex: 1; width: auto; margin-top: 20px; }
  .hero-bottom { position: relative; inset: auto; margin: 0; padding: 34px 24px 14px; }
}
@media (min-width: 621px) and (max-width: 900px) {
  .craft-pass, .project-pass { height: auto; }
  .craft-pass, .project-pass { padding: 18px 19px; }
  .craft-focus p { font-size: 1.08rem; }
  .craft-focus p em { font-size: 2rem; }
  .craft-focus-details { font-size: .75rem; }
  .project-pass-stat > strong { font-size: 5.2rem; }
}
@media (max-width: 620px) {
  .hero-showcase { flex-direction: column; gap: 23px; max-width: 390px; padding-inline: 27px; }
  .craft-pass, .project-pass { width: 100%; flex: none; }
  .craft-pass { transform: rotate(-2deg); }
  .project-pass { margin: 0; transform: rotate(2deg); }
  .craft-pass { padding: 18px 20px 20px; }
  .craft-pass-heading { font-size: .82rem; }
  .craft-focus { padding-top: 19px; }
  .craft-focus p { font-size: 1.08rem; }
  .craft-focus p em { font-size: 2.2rem; }
  .project-pass-content { padding: 19px 21px; }
  .project-pass-heading { font-size: .82rem; }
  .project-pass-stat { display: flex; align-items: center; gap: 20px; padding-top: 12px; }
  .project-pass-stat > strong { margin: 0; font-size: 4.1rem; }
  .project-pass-stat > strong > span { font-size: 1.75rem; margin-top: 4px; margin-left: 3px; }
  .project-pass-stat > p { font-size: .875rem; }
  .project-pass-categories { padding: 13px 21px; }
  .hero-art { height: 365px; }
}
@media (max-width: 360px) {
  .hero-showcase { padding-inline: 18px; }
  .craft-focus p em { font-size: 1.85rem; }
  .project-pass-stat { gap: 13px; }
  .project-pass-stat > strong { font-size: 3.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .craft-pass, .project-pass { transition: none; transform: none; }
}
