/* The archive uses the observatory palette on paper. */
.v4-skills, .v4-resources-band {
  --paper: #f5f4f0;
  --ink: #151d30;
  --muted-ink: #536073;
  --hairline: #cbd0d5;
  --rose-ink: #a52059;
  color: var(--ink);
}

.v4-skills {
  border-radius: 0;
  margin: 0;
  background: var(--paper);
  border-top: 3px solid #a5bbd4;
  box-shadow: none;
  padding: clamp(52px, 6vw, 86px) 0;
  overflow: clip;
}

.v4-skills::before { content: none; }

.skill-directory {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(172px, .58fr) minmax(0, 3fr);
  column-gap: clamp(28px, 4vw, 72px);
}

.v4-skills .v4-section-head { margin: 0 0 30px; align-items: end; }
.v4-skills .v4-kicker, .v4-resource-layout .v4-kicker {
  color: #525f75;
  font: 600 12px/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
}
.v4-skills .v4-skill-title { font-size: clamp(32px, 3.6vw, 60px) !important; }
.v4-skills h2 span { color: var(--rose-ink); }
.v4-skill-lead { gap: 9px; }
.v4-skill-lead p { font-size: 17px; line-height: 1.65; color: var(--muted-ink); }
.v4-skills .v4-text-link { color: var(--rose-ink); font-size: 15px; }

.v4-skill-toolbar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column-reverse;
  gap: 17px;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid #7f8999;
}
.v4-skill-search {
  min-width: 0;
  width: 100%;
  display: flex;
  padding: 7px 12px;
  border-radius: 5px;
  border-color: #c5cbd1;
  background: #fff9;
}
.v4-skill-search input { width: 100%; font-size: 15px; color: var(--ink); }
.v4-skill-search input::placeholder { color: #5e697b; }
.v4-skill-search:focus-within { outline: 2px solid #5784ad; outline-offset: 2px; }
#skill-filter { display: grid; width: 100%; gap: 0; }
#skill-filter button {
  position: relative;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: 0;
  color: var(--muted-ink);
  text-align: left;
  font-size: 15px;
}
#skill-filter button:hover { background: #e6e8e8; }
#skill-filter button.is-active {
  box-shadow: inset 2px 0 #cf3573;
  background: #f0e4e7;
  color: #84214b;
  font-weight: 650;
}
.v4-collection-label {
  padding: 14px 0;
  border-top: 1px solid #7f8999;
  color: var(--ink);
  letter-spacing: .03em;
  font-size: 14px;
  font-weight: 650;
}
#skill-count { color: var(--muted-ink); font-size: 12px; font-weight: 450; }

.community-v4 #skill-collection {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(12px, 1.9vw, 32px);
}
.v4-skills .skill-entry {
  gap: 12px;
  padding: 14px 4px;
  min-height: 77px;
  border: 0;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  transition: background .16s, border-color .16s;
}
.v4-skills .skill-entry-number {
  align-self: flex-start;
  width: auto;
  min-width: 20px;
  height: auto;
  margin: 3px 0 0;
  font: 12px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace;
  background: transparent;
  color: #69758a;
}
.v4-skills .skill-entry[data-group] .skill-entry-number { background: transparent; color: #69758a; }
.skill-entry-copy { gap: 3px; }
.skill-entry-title { font-size: 16px; font-weight: 620; line-height: 1.5; }
.skill-entry-category { font-size: 12px; color: var(--muted-ink); }
.skill-entry-arrow { font-size: 17px; padding: 0; color: #667384; }
.v4-skills .skill-entry:hover, .v4-skills .skill-entry:focus-visible {
  border-color: #bb6b8a;
  background: #eee8e9;
  box-shadow: none;
  transform: none;
}
.skill-entry:hover .skill-entry-arrow { color: var(--rose-ink); }
.v4-skill-bottom {
  justify-content: end;
  padding: 17px 0 0;
}
.v4-experience {
  margin-top: 30px;
  border-color: var(--hairline);
}
.v4-experience > summary { color: var(--ink); }
.v4-experience > summary b { color: var(--rose-ink); }
#skills-more:not([hidden]) {
  margin-top: 17px;
  padding: 11px 17px;
  min-height: 44px;
  border: 1px solid #465368;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
#skills-more::after { content: "＋"; margin-left: 10px; }
#skills-more[aria-expanded="true"]::after { content: "−"; }

/* A paper resource spread, followed by the community's own wall artwork. */
.v4-resources-band {
  padding: clamp(48px, 5vw, 80px) 0;
  border-block: 1px solid #bec6d2;
  background: linear-gradient(105deg, #f5f4f0 28%, #e9ecf0 76%, #e5eaf2);
}
.v4-resource-layout { grid-template-columns: 1fr .64fr 1fr; }
.v4-resource-layout article { min-width: 0; }
.v4-resource-layout h2 {
  font-size: clamp(32px, 3.2vw, 54px);
  line-height: 1.15;
  margin: 11px 0 17px;
}
.v4-resource-layout article > p:not(.v4-kicker) { color: var(--muted-ink); font-size: 16px; line-height: 1.75; }
.v4-resource-layout .v4-text-link { color: #1c457f; font-size: 15px; }
.v4-knowledge-proof {
  display: inline-block;
  border: 0;
  border-left: 2px solid #416998;
  border-radius: 0;
  padding: 2px 0 2px 10px;
  margin-bottom: 11px;
  background: transparent;
  box-shadow: none;
  color: #254a78;
  font-size: 14px;
}
.v4-resource-sculpture { min-height: 270px; }
.v4-resource-sculpture::before { border-color: #92a3ba; box-shadow: none; }
.v4-resource-sculpture > span,
.v4-resource-sculpture > span:first-child,
.v4-resource-sculpture > span:nth-child(3) {
  display: flex;
  align-items: start;
  padding: 17px 13px;
  width: 104px;
  height: 139px;
  top: 70px;
  border: 1px solid #9daec2;
  border-radius: 3px 10px 3px 3px;
  background: linear-gradient(120deg, #f0f4fa, #cdd9e8);
  box-shadow: 2px 3px #bbc9d8, 0 12px 20px #35405521;
  font-size: 16px;
  color: #243a57;
}
.v4-resource-sculpture > span:first-child {
  background: linear-gradient(120deg, #f6e3e8, #e4c7d3);
  color: #702d51;
}
.v4-resource-sculpture > span:nth-child(3) {
  background: linear-gradient(120deg, #e6edf6, #9fb6d5);
}
.v4-resource-sculpture > span::after {
  content: "";
  position: absolute;
  inset: 53px 13px 23px;
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 10px);
  opacity: .28;
}

.v4-treehole, .community-v4 footer { background: #090e1d; }
.v4-treehole {
  color: #eef2f8;
  border: 0;
  padding: clamp(48px, 5vw, 80px) 0;
}
.v4-treehole-inner { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 64px); }
.v4-treehole .v4-kicker { color: #9eb2d0; }
.v4-treehole h2 {
  margin: 12px 0 18px;
  font-size: clamp(32px, 3vw, 48px);
  letter-spacing: -.04em;
  line-height: 1.23;
  color: #f1f3f7;
}
.v4-treehole p:not(.v4-kicker) { color: #bac5d9; font-size: 16px; line-height: 1.75; }
.v4-treehole .button { margin-top: 20px; }
.v4-treehole-window {
  margin: 0;
  border: 1px solid #918776;
  border-radius: 2px 32px 2px 2px;
  box-shadow: none;
  transform: none;
}
.v4-treehole-window img { width: 100%; height: auto; aspect-ratio: 3 / 1; }
.v4-treehole-window:hover { transform: translateY(-3px); }
.community-v4 footer { padding-top: 0; }
.community-v4 .footer-top {
  padding: 30px 0;
  border-top: 1px solid #313c53;
}
.community-v4 .footer-links, .community-v4 .footer-bottom { font-size: 13px; color: #bcc7da; }
.footer-contact-codes {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contact-code {
  display: grid;
  gap: 8px;
  width: 112px;
  cursor: zoom-in;
  color: #e3ebfc;
  font-size: 14px;
}
.contact-code img, .contact-code-dialog img {
  display: block;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 8%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}
.contact-code span { display: flex; justify-content: space-between; align-items: center; }
.contact-code i { font: inherit; color: #b0c6ec; }
.contact-code:hover span, .contact-code:focus-visible span { color: #fff; text-decoration: underline; }
.contact-code-dialog {
  width: min(360px, calc(100% - 28px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 24px;
  text-align: center;
}
.contact-code-dialog h2 { margin: 4px 0 16px; }
.contact-code-dialog img { max-width: 280px; margin-inline: auto; }
.contact-code-dialog .button { margin: 0 auto; }
@media (min-width: 731px) and (max-width: 1100px) {
  .footer-contact-codes { grid-column: 1/-1; }
}

.filing-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 20px;
  padding: 4px 18px 20px;
  color: #bcc7da;
  font-size: 13px;
}
.filing-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  white-space: nowrap;
}
.filing-links a:hover, .filing-links a:focus-visible { color: #fff; text-decoration: underline; }

@media (max-width: 1150px) {
  .community-v4 #skill-collection { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .v4-resource-layout { grid-template-columns: 1fr 1fr; }
  .v4-resource-layout article:last-child { border-color: var(--hairline); }
}

@media (max-width: 825px) {
  .skill-directory { display: block; }
  .v4-skill-toolbar {
    position: static;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }
  #skill-filter { display: flex; flex-wrap: wrap; gap: 5px; }
  #skill-filter button { width: auto; padding: 9px 12px; border-radius: 4px; }
  .v4-collection-label { border-color: var(--hairline); }
}

@media (max-width: 680px) {
  .v4-skills .v4-section-head { margin-bottom: 21px; }
  .v4-skill-lead { margin-top: 15px; }
  .v4-skill-lead p { font-size: 15px; }
  .v4-skills .v4-text-link, .v4-experience > summary { font-size: 15px; }
  #skill-filter { gap: 2px; }
  #skill-filter button { padding: 9px 11px; font-size: 14px; }
  .v4-skill-search input { font-size: 16px; }
  .community-v4 #skill-collection { grid-template-columns: minmax(0, 1fr); }
  .v4-skills .skill-entry { min-height: 64px; padding: 10px 4px; }
  .v4-skill-bottom { display: flex; padding: 12px 0 0; }
  .v4-experience > summary b { display: inline; margin: 0 0 0 5px; }
  .v4-resource-layout { grid-template-columns: 1fr; gap: 26px; }
  .v4-resource-layout article:last-child { padding: 25px 0 0; border-left: 0; }
  .v4-resource-layout article > p:not(.v4-kicker), .v4-treehole p:not(.v4-kicker) { font-size: 15px; }
  .v4-treehole-inner { gap: 24px; }
  .v4-treehole-window { border-radius: 2px 22px 2px 2px; }
  .community-v4 .footer-bottom { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .v4-treehole-window:hover { transform: none; }
}
